Home
last modified time | relevance | path

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

/drivers/net/netdevsim/
Dnetdev.c90 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()
Dnetdevsim.h272 u8 vf_mac[ETH_ALEN]; member
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c882 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()
/drivers/net/ethernet/cisco/enic/
Denic.h86 u8 vf_mac[ETH_ALEN]; member
Denic_main.c1083 memcpy(pp->vf_mac, mac, ETH_ALEN); in enic_set_vf_mac()
1151 if (!is_zero_ether_addr(prev_pp.vf_mac)) in enic_set_vf_port()
1152 memcpy(pp->mac_addr, prev_pp.vf_mac, ETH_ALEN); in enic_set_vf_port()
1194 eth_zero_addr(pp->vf_mac); in enic_set_vf_port()
/drivers/net/ethernet/intel/igb/
Digb.h110 u8 vf_mac[ETH_ALEN]; member
Digb_main.c7589 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_event() local
7593 eth_zero_addr(vf_mac); in igb_vf_reset_event()
7602 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_msg() local
7610 igb_set_vf_mac(adapter, vf, vf_mac); in igb_vf_reset_msg()
7621 if (!is_zero_ether_addr(vf_mac)) { in igb_vf_reset_msg()
7623 memcpy(addr, vf_mac, ETH_ALEN); in igb_vf_reset_msg()
7874 igb_del_mac_filter(adapter, entry->vf_mac, vf); in igb_set_vf_mac_filter()
7889 ether_addr_copy(entry->vf_mac, addr); in igb_set_vf_mac_filter()