Searched refs:vf_mac (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_sriov.c | 887 unsigned char *vf_mac = adapter->vfinfo[vf].vf_mac_addresses; in ixgbe_vf_reset_msg() local 902 if (!is_zero_ether_addr(vf_mac)) in ixgbe_vf_reset_msg() 903 ixgbe_set_vf_mac(adapter, vf, vf_mac); in ixgbe_vf_reset_msg() 936 if (!is_zero_ether_addr(vf_mac) && adapter->vfinfo[vf].pf_set_mac) { in ixgbe_vf_reset_msg() 938 memcpy(addr, vf_mac, ETH_ALEN); in ixgbe_vf_reset_msg()
|
| /linux/drivers/net/netdevsim/ |
| H A D | netdev.c | 216 memcpy(nsim_dev->vfconfigs[vf].vf_mac, mac, ETH_ALEN); in nsim_set_vf_mac() 308 memcpy(&ivi->mac, nsim_dev->vfconfigs[vf].vf_mac, ETH_ALEN); in nsim_get_vf_config()
|
| /linux/drivers/net/ethernet/cisco/enic/ |
| H A D | enic_main.c | 1114 memcpy(pp->vf_mac, mac, ETH_ALEN); in enic_set_vf_mac() 1182 if (!is_zero_ether_addr(prev_pp.vf_mac)) in enic_set_vf_port() 1183 memcpy(pp->mac_addr, prev_pp.vf_mac, ETH_ALEN); in enic_set_vf_port() 1225 eth_zero_addr(pp->vf_mac); in enic_set_vf_port()
|
| /linux/net/core/ |
| H A D | rtnetlink.c | 1511 struct ifla_vf_mac vf_mac; in rtnl_fill_vfinfo() local 1540 vf_mac.vf = in rtnl_fill_vfinfo() 1552 memcpy(vf_mac.mac, ivi.mac, sizeof(ivi.mac)); in rtnl_fill_vfinfo() 1569 if (nla_put(skb, IFLA_VF_MAC, sizeof(vf_mac), &vf_mac) || in rtnl_fill_vfinfo()
|