Home
last modified time | relevance | path

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

/drivers/net/ethernet/wangxun/libwx/
A Dwx_sriov.c380 const u8 *vf_mac = wx->vfinfo[vf].vf_mac_addr; in wx_vf_reset_msg() local
391 if (!is_zero_ether_addr(vf_mac)) in wx_vf_reset_msg()
392 wx_set_vf_mac(wx, vf, vf_mac); in wx_vf_reset_msg()
414 if (!is_zero_ether_addr(vf_mac)) { in wx_vf_reset_msg()
416 memcpy(addr, vf_mac, ETH_ALEN); in wx_vf_reset_msg()
/drivers/net/ethernet/intel/ixgbe/
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()
/drivers/net/ethernet/cisco/enic/
A Denic.h97 u8 vf_mac[ETH_ALEN]; member
A Denic_main.c1114 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()
/drivers/net/netdevsim/
A Dnetdevsim.h291 u8 vf_mac[ETH_ALEN]; member
A Dnetdev.c193 memcpy(nsim_dev->vfconfigs[vf].vf_mac, mac, ETH_ALEN); in nsim_set_vf_mac()
285 memcpy(&ivi->mac, nsim_dev->vfconfigs[vf].vf_mac, ETH_ALEN); in nsim_get_vf_config()
/drivers/net/ethernet/intel/igb/
A Digb.h113 u8 vf_mac[ETH_ALEN]; member
A Digb_main.c7672 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_event() local
7676 eth_zero_addr(vf_mac); in igb_vf_reset_event()
7685 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_msg() local
7693 igb_set_vf_mac(adapter, vf, vf_mac); in igb_vf_reset_msg()
7704 if (!is_zero_ether_addr(vf_mac)) { in igb_vf_reset_msg()
7706 memcpy(addr, vf_mac, ETH_ALEN); in igb_vf_reset_msg()
7956 igb_del_mac_filter(adapter, entry->vf_mac, vf); in igb_set_vf_mac_filter()
7972 ether_addr_copy(entry->vf_mac, addr); in igb_set_vf_mac_filter()

Completed in 36 milliseconds