Home
last modified time | relevance | path

Searched refs:vf_mac (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_sriov.c394 const u8 *vf_mac = wx->vfinfo[vf].vf_mac_addr; in wx_vf_reset_msg() local
405 if (!is_zero_ether_addr(vf_mac)) in wx_vf_reset_msg()
406 wx_set_vf_mac(wx, vf, vf_mac); in wx_vf_reset_msg()
428 if (!is_zero_ether_addr(vf_mac)) { in wx_vf_reset_msg()
430 memcpy(addr, vf_mac, ETH_ALEN); in wx_vf_reset_msg()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c885 unsigned char *vf_mac = adapter->vfinfo[vf].vf_mac_addresses; in ixgbe_vf_reset_msg() local
900 if (!is_zero_ether_addr(vf_mac)) in ixgbe_vf_reset_msg()
901 ixgbe_set_vf_mac(adapter, vf, vf_mac); in ixgbe_vf_reset_msg()
934 if (!is_zero_ether_addr(vf_mac) && adapter->vfinfo[vf].pf_set_mac) { in ixgbe_vf_reset_msg()
936 memcpy(addr, vf_mac, ETH_ALEN); in ixgbe_vf_reset_msg()
/linux/drivers/net/netdevsim/
H A Dnetdevsim.h316 u8 vf_mac[ETH_ALEN]; member
H A Dnetdev.c215 memcpy(nsim_dev->vfconfigs[vf].vf_mac, mac, ETH_ALEN); in nsim_set_vf_mac()
307 memcpy(&ivi->mac, nsim_dev->vfconfigs[vf].vf_mac, ETH_ALEN); in nsim_get_vf_config()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c7667 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_event() local
7671 eth_zero_addr(vf_mac); in igb_vf_reset_event()
7680 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_msg() local
7688 igb_set_vf_mac(adapter, vf, vf_mac); in igb_vf_reset_msg()
7699 if (!is_zero_ether_addr(vf_mac)) { in igb_vf_reset_msg()
7701 memcpy(addr, vf_mac, ETH_ALEN); in igb_vf_reset_msg()
7951 igb_del_mac_filter(adapter, entry->vf_mac, vf); in igb_set_vf_mac_filter()
7967 ether_addr_copy(entry->vf_mac, addr); in igb_set_vf_mac_filter()
/linux/net/core/
H A Drtnetlink.c1533 struct ifla_vf_mac vf_mac; in rtnl_fill_vfinfo() local
1562 vf_mac.vf = in rtnl_fill_vfinfo()
1574 memcpy(vf_mac.mac, ivi.mac, sizeof(ivi.mac)); in rtnl_fill_vfinfo()
1592 if (nla_put(skb, IFLA_VF_MAC, sizeof(vf_mac), &vf_mac) || in rtnl_fill_vfinfo()