Home
last modified time | relevance | path

Searched refs:vf_mac (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/netdevsim/
H A Dnetdev.c90 memcpy(nsim_bus_dev->vfconfigs[vf].vf_mac, mac, ETH_ALEN); in nsim_set_vf_mac()
177 memcpy(&ivi->mac, nsim_bus_dev->vfconfigs[vf].vf_mac, ETH_ALEN); in nsim_get_vf_config()
H A Dnetdevsim.h272 u8 vf_mac[ETH_ALEN]; member
/kernel/linux/linux-6.6/drivers/net/netdevsim/
H A 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()
H A Dnetdevsim.h272 u8 vf_mac[ETH_ALEN]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
H A Denic.h99 u8 vf_mac[ETH_ALEN]; member
H A Denic_main.c1084 memcpy(pp->vf_mac, mac, ETH_ALEN); in enic_set_vf_mac()
1139 if (!is_zero_ether_addr(prev_pp.vf_mac)) in enic_set_vf_port()
1140 memcpy(pp->mac_addr, prev_pp.vf_mac, ETH_ALEN); in enic_set_vf_port()
1182 eth_zero_addr(pp->vf_mac); in enic_set_vf_port()
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/
H A Denic.h86 u8 vf_mac[ETH_ALEN]; member
H A Denic_main.c1083 memcpy(pp->vf_mac, mac, ETH_ALEN); in enic_set_vf_mac()
1139 if (!is_zero_ether_addr(prev_pp.vf_mac)) in enic_set_vf_port()
1140 memcpy(pp->mac_addr, prev_pp.vf_mac, ETH_ALEN); in enic_set_vf_port()
1182 eth_zero_addr(pp->vf_mac); in enic_set_vf_port()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c883 unsigned char *vf_mac = adapter->vfinfo[vf].vf_mac_addresses; in ixgbe_vf_reset_msg() local
898 if (!is_zero_ether_addr(vf_mac)) in ixgbe_vf_reset_msg()
899 ixgbe_set_vf_mac(adapter, vf, vf_mac); in ixgbe_vf_reset_msg()
932 if (!is_zero_ether_addr(vf_mac) && adapter->vfinfo[vf].pf_set_mac) { in ixgbe_vf_reset_msg()
934 memcpy(addr, vf_mac, ETH_ALEN); in ixgbe_vf_reset_msg()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c883 unsigned char *vf_mac = adapter->vfinfo[vf].vf_mac_addresses; in ixgbe_vf_reset_msg() local
898 if (!is_zero_ether_addr(vf_mac)) in ixgbe_vf_reset_msg()
899 ixgbe_set_vf_mac(adapter, vf, vf_mac); in ixgbe_vf_reset_msg()
932 if (!is_zero_ether_addr(vf_mac) && adapter->vfinfo[vf].pf_set_mac) { in ixgbe_vf_reset_msg()
934 memcpy(addr, vf_mac, ETH_ALEN); in ixgbe_vf_reset_msg()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
H A Digb.h110 u8 vf_mac[ETH_ALEN]; member
H A Digb_main.c7411 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_event() local
7415 eth_zero_addr(vf_mac); in igb_vf_reset_event()
7424 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_msg() local
7432 igb_set_vf_mac(adapter, vf, vf_mac); in igb_vf_reset_msg()
7443 if (!is_zero_ether_addr(vf_mac)) { in igb_vf_reset_msg()
7445 memcpy(addr, vf_mac, ETH_ALEN); in igb_vf_reset_msg()
7696 igb_del_mac_filter(adapter, entry->vf_mac, vf); in igb_set_vf_mac_filter()
7711 ether_addr_copy(entry->vf_mac, addr); in igb_set_vf_mac_filter()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
H A Digb.h110 u8 vf_mac[ETH_ALEN]; member
H A Digb_main.c7588 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_event() local
7592 eth_zero_addr(vf_mac); in igb_vf_reset_event()
7601 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_msg() local
7609 igb_set_vf_mac(adapter, vf, vf_mac); in igb_vf_reset_msg()
7620 if (!is_zero_ether_addr(vf_mac)) { in igb_vf_reset_msg()
7622 memcpy(addr, vf_mac, ETH_ALEN); in igb_vf_reset_msg()
7873 igb_del_mac_filter(adapter, entry->vf_mac, vf); in igb_set_vf_mac_filter()
7888 ether_addr_copy(entry->vf_mac, addr); in igb_set_vf_mac_filter()
/kernel/linux/linux-5.10/net/core/
H A Drtnetlink.c1240 struct ifla_vf_mac vf_mac; in rtnl_fill_vfinfo() local
1269 vf_mac.vf = in rtnl_fill_vfinfo()
1281 memcpy(vf_mac.mac, ivi.mac, sizeof(ivi.mac)); in rtnl_fill_vfinfo()
1298 if (nla_put(skb, IFLA_VF_MAC, sizeof(vf_mac), &vf_mac) || in rtnl_fill_vfinfo()
/kernel/linux/linux-6.6/net/core/
H A Drtnetlink.c1288 struct ifla_vf_mac vf_mac; in rtnl_fill_vfinfo() local
1317 vf_mac.vf = in rtnl_fill_vfinfo()
1329 memcpy(vf_mac.mac, ivi.mac, sizeof(ivi.mac)); in rtnl_fill_vfinfo()
1346 if (nla_put(skb, IFLA_VF_MAC, sizeof(vf_mac), &vf_mac) || in rtnl_fill_vfinfo()

Completed in 56 milliseconds