Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/netdevsim/
Dnetdev.c36 u8 vf_mac[ETH_ALEN]; member
344 memcpy(ns->vfconfigs[vf].vf_mac, mac, ETH_ALEN); in nsim_set_vf_mac()
425 memcpy(&ivi->mac, ns->vfconfigs[vf].vf_mac, ETH_ALEN); in nsim_get_vf_config()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c816 unsigned char *vf_mac = adapter->vfinfo[vf].vf_mac_addresses; in ixgbe_vf_reset_msg() local
829 if (!is_zero_ether_addr(vf_mac)) in ixgbe_vf_reset_msg()
830 ixgbe_set_vf_mac(adapter, vf, vf_mac); in ixgbe_vf_reset_msg()
888 if (!is_zero_ether_addr(vf_mac) && adapter->vfinfo[vf].pf_set_mac) { in ixgbe_vf_reset_msg()
890 memcpy(addr, vf_mac, ETH_ALEN); in ixgbe_vf_reset_msg()
/Linux-v4.19/drivers/net/ethernet/cisco/enic/
Denic.h101 u8 vf_mac[ETH_ALEN]; member
Denic_main.c1116 memcpy(pp->vf_mac, mac, ETH_ALEN); in enic_set_vf_mac()
1171 if (!is_zero_ether_addr(prev_pp.vf_mac)) in enic_set_vf_port()
1172 memcpy(pp->mac_addr, prev_pp.vf_mac, ETH_ALEN); in enic_set_vf_port()
1214 eth_zero_addr(pp->vf_mac); in enic_set_vf_port()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb.h102 u8 vf_mac[ETH_ALEN]; member
Digb_main.c7121 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_event() local
7125 eth_zero_addr(vf_mac); in igb_vf_reset_event()
7134 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_msg() local
7142 igb_set_vf_mac(adapter, vf, vf_mac); in igb_vf_reset_msg()
7153 if (!is_zero_ether_addr(vf_mac)) { in igb_vf_reset_msg()
7155 memcpy(addr, vf_mac, ETH_ALEN); in igb_vf_reset_msg()
7392 igb_del_mac_filter(adapter, entry->vf_mac, vf); in igb_set_vf_mac_filter()
7421 ether_addr_copy(entry->vf_mac, addr); in igb_set_vf_mac_filter()
/Linux-v4.19/net/core/
Drtnetlink.c1203 struct ifla_vf_mac vf_mac; in rtnl_fill_vfinfo() local
1227 vf_mac.vf = in rtnl_fill_vfinfo()
1237 memcpy(vf_mac.mac, ivi.mac, sizeof(ivi.mac)); in rtnl_fill_vfinfo()
1253 if (nla_put(skb, IFLA_VF_MAC, sizeof(vf_mac), &vf_mac) || in rtnl_fill_vfinfo()