Searched refs:vf_mac (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/drivers/net/netdevsim/ |
A D | netdev.c | 90 memcpy(nsim_dev->vfconfigs[vf].vf_mac, mac, ETH_ALEN); in nsim_set_vf_mac() 182 memcpy(&ivi->mac, nsim_dev->vfconfigs[vf].vf_mac, ETH_ALEN); in nsim_get_vf_config()
|
A D | netdevsim.h | 249 u8 vf_mac[ETH_ALEN]; member
|
/linux-6.3-rc2/drivers/net/ethernet/cisco/enic/ |
A D | enic.h | 86 u8 vf_mac[ETH_ALEN]; member
|
A D | enic_main.c | 1083 memcpy(pp->vf_mac, mac, ETH_ALEN); in enic_set_vf_mac() 1139 if (!is_zero_ether_addr(prev_pp.vf_mac)) in enic_set_vf_port() 1140 memcpy(pp->mac_addr, prev_pp.vf_mac, ETH_ALEN); in enic_set_vf_port() 1182 eth_zero_addr(pp->vf_mac); in enic_set_vf_port()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_sriov.c | 882 unsigned char *vf_mac = adapter->vfinfo[vf].vf_mac_addresses; in ixgbe_vf_reset_msg() local 897 if (!is_zero_ether_addr(vf_mac)) in ixgbe_vf_reset_msg() 898 ixgbe_set_vf_mac(adapter, vf, vf_mac); in ixgbe_vf_reset_msg() 931 if (!is_zero_ether_addr(vf_mac) && adapter->vfinfo[vf].pf_set_mac) { in ixgbe_vf_reset_msg() 933 memcpy(addr, vf_mac, ETH_ALEN); in ixgbe_vf_reset_msg()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/igb/ |
A D | igb.h | 110 u8 vf_mac[ETH_ALEN]; member
|
A D | igb_main.c | 7556 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_event() local 7560 eth_zero_addr(vf_mac); in igb_vf_reset_event() 7569 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_msg() local 7577 igb_set_vf_mac(adapter, vf, vf_mac); in igb_vf_reset_msg() 7588 if (!is_zero_ether_addr(vf_mac)) { in igb_vf_reset_msg() 7590 memcpy(addr, vf_mac, ETH_ALEN); in igb_vf_reset_msg() 7841 igb_del_mac_filter(adapter, entry->vf_mac, vf); in igb_set_vf_mac_filter() 7856 ether_addr_copy(entry->vf_mac, addr); in igb_set_vf_mac_filter()
|
/linux-6.3-rc2/net/core/ |
A D | rtnetlink.c | 1282 struct ifla_vf_mac vf_mac; in rtnl_fill_vfinfo() local 1311 vf_mac.vf = in rtnl_fill_vfinfo() 1323 memcpy(vf_mac.mac, ivi.mac, sizeof(ivi.mac)); in rtnl_fill_vfinfo() 1340 if (nla_put(skb, IFLA_VF_MAC, sizeof(vf_mac), &vf_mac) || in rtnl_fill_vfinfo()
|
Completed in 54 milliseconds