• Home
  • Raw
  • Download

Lines Matching refs:vport_id

137 			efx_ef10_vport_del_mac(efx, vf->vport_id, vf->mac);  in efx_ef10_sriov_free_vf_vports()
141 if (vf->vport_id) { in efx_ef10_sriov_free_vf_vports()
142 efx_ef10_vport_free(efx, vf->vport_id); in efx_ef10_sriov_free_vf_vports()
143 vf->vport_id = 0; in efx_ef10_sriov_free_vf_vports()
171 vf->vlan, &vf->vport_id); in efx_ef10_sriov_assign_vf_vport()
175 rc = efx_ef10_vport_add_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_assign_vf_vport()
181 rc = efx_ef10_evb_port_assign(efx, vf->vport_id, vf_i); in efx_ef10_sriov_assign_vf_vport()
246 efx_ef10_vadaptor_alloc(efx, nic_data->vport_id); in efx_ef10_vswitching_probe_pf()
257 EFX_EF10_NO_VLAN, &nic_data->vport_id); in efx_ef10_vswitching_probe_pf()
261 rc = efx_ef10_vport_add_mac(efx, nic_data->vport_id, net_dev->dev_addr); in efx_ef10_vswitching_probe_pf()
266 rc = efx_ef10_vadaptor_alloc(efx, nic_data->vport_id); in efx_ef10_vswitching_probe_pf()
272 efx_ef10_vport_del_mac(efx, nic_data->vport_id, nic_data->vport_mac); in efx_ef10_vswitching_probe_pf()
275 efx_ef10_vport_free(efx, nic_data->vport_id); in efx_ef10_vswitching_probe_pf()
276 nic_data->vport_id = EVB_PORT_ID_ASSIGNED; in efx_ef10_vswitching_probe_pf()
287 return efx_ef10_vadaptor_alloc(efx, nic_data->vport_id); in efx_ef10_vswitching_probe_vf()
333 efx_ef10_vadaptor_free(efx, nic_data->vport_id); in efx_ef10_vswitching_remove_pf()
335 if (nic_data->vport_id == EVB_PORT_ID_ASSIGNED) in efx_ef10_vswitching_remove_pf()
339 efx_ef10_vport_del_mac(efx, nic_data->vport_id, in efx_ef10_vswitching_remove_pf()
343 efx_ef10_vport_free(efx, nic_data->vport_id); in efx_ef10_vswitching_remove_pf()
344 nic_data->vport_id = EVB_PORT_ID_ASSIGNED; in efx_ef10_vswitching_remove_pf()
348 efx_ef10_vswitch_free(efx, nic_data->vport_id); in efx_ef10_vswitching_remove_pf()
492 rc = efx_ef10_vport_del_vf_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_set_vf_mac()
498 rc = efx_ef10_vport_add_mac(efx, vf->vport_id, mac); in efx_ef10_sriov_set_vf_mac()
509 rc = efx_ef10_evb_port_assign(efx, vf->vport_id, vf_i); in efx_ef10_sriov_set_vf_mac()
579 rc = efx_ef10_vport_del_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_set_vf_vlan()
584 if (vf->vport_id) { in efx_ef10_sriov_set_vf_vlan()
585 rc = efx_ef10_vport_free(efx, vf->vport_id); in efx_ef10_sriov_set_vf_vlan()
588 vf->vport_id = 0; in efx_ef10_sriov_set_vf_vlan()
598 vf->vlan, &vf->vport_id); in efx_ef10_sriov_set_vf_vlan()
604 rc2 = efx_ef10_vport_add_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_set_vf_vlan()
612 rc2 = efx_ef10_evb_port_assign(efx, vf->vport_id, vf_i); in efx_ef10_sriov_set_vf_vlan()