Searched refs:vport_mac (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | ef10_sriov.c | 287 ether_addr_copy(nic_data->vport_mac, net_dev->dev_addr); in efx_ef10_vswitching_probe_pf() 295 efx_ef10_vport_del_mac(efx, efx->vport_id, nic_data->vport_mac); in efx_ef10_vswitching_probe_pf() 296 eth_zero_addr(nic_data->vport_mac); in efx_ef10_vswitching_probe_pf() 359 if (!is_zero_ether_addr(nic_data->vport_mac)) { in efx_ef10_vswitching_remove_pf() 362 eth_zero_addr(nic_data->vport_mac); in efx_ef10_vswitching_remove_pf()
|
H A D | nic.h | 162 * @vport_mac: The MAC address on the vport, only for PFs; VFs will be zero 198 u8 vport_mac[ETH_ALEN]; member
|
H A D | ef10.c | 3248 if (is_zero_ether_addr(nic_data->vport_mac)) in efx_ef10_vport_set_mac_address() 3259 ether_addr_copy(mac_old, nic_data->vport_mac); in efx_ef10_vport_set_mac_address() 3261 nic_data->vport_mac); in efx_ef10_vport_set_mac_address() 3268 ether_addr_copy(nic_data->vport_mac, efx->net_dev->dev_addr); in efx_ef10_vport_set_mac_address() 3272 /* Failed to add original MAC, so clear vport_mac */ in efx_ef10_vport_set_mac_address() 3273 eth_zero_addr(nic_data->vport_mac); in efx_ef10_vport_set_mac_address()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | ef10_sriov.c | 290 ether_addr_copy(nic_data->vport_mac, net_dev->dev_addr); in efx_ef10_vswitching_probe_pf() 298 efx_ef10_vport_del_mac(efx, efx->vport_id, nic_data->vport_mac); in efx_ef10_vswitching_probe_pf() 299 eth_zero_addr(nic_data->vport_mac); in efx_ef10_vswitching_probe_pf() 362 if (!is_zero_ether_addr(nic_data->vport_mac)) { in efx_ef10_vswitching_remove_pf() 365 eth_zero_addr(nic_data->vport_mac); in efx_ef10_vswitching_remove_pf()
|
H A D | nic.h | 255 * @vport_mac: The MAC address on the vport, only for PFs; VFs will be zero 291 u8 vport_mac[ETH_ALEN]; member
|
H A D | ef10.c | 3211 if (is_zero_ether_addr(nic_data->vport_mac)) in efx_ef10_vport_set_mac_address() 3224 ether_addr_copy(mac_old, nic_data->vport_mac); in efx_ef10_vport_set_mac_address() 3226 nic_data->vport_mac); in efx_ef10_vport_set_mac_address() 3233 ether_addr_copy(nic_data->vport_mac, efx->net_dev->dev_addr); in efx_ef10_vport_set_mac_address() 3237 /* Failed to add original MAC, so clear vport_mac */ in efx_ef10_vport_set_mac_address() 3238 eth_zero_addr(nic_data->vport_mac); in efx_ef10_vport_set_mac_address()
|
Completed in 14 milliseconds