Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/enic/
Denic.h64 u8 vf_mac[ETH_ALEN]; member
Denic_main.c1109 memcpy(enic->pp.vf_mac, mac, ETH_ALEN); in enic_set_vf_mac()
1245 if (!is_zero_ether_addr(enic->pp.vf_mac)) in enic_set_vf_port()
1246 memcpy(new_pp.mac_addr, enic->pp.vf_mac, ETH_ALEN); in enic_set_vf_port()
1259 memset(enic->pp.vf_mac, 0, ETH_ALEN); in enic_set_vf_port()
/linux-2.6.39/drivers/net/ixgbe/
Dixgbe_sriov.c277 unsigned char *vf_mac = adapter->vfinfo[vf].vf_mac_addresses; in ixgbe_rcv_msg_from_vf() local
286 ixgbe_set_vf_mac(adapter, vf, vf_mac); in ixgbe_rcv_msg_from_vf()
293 memcpy(new_mac, vf_mac, IXGBE_ETH_LENGTH_OF_ADDRESS); in ixgbe_rcv_msg_from_vf()
/linux-2.6.39/net/core/
Drtnetlink.c930 struct ifla_vf_mac vf_mac; in rtnl_fill_ifinfo() local
935 vf_mac.vf = vf_vlan.vf = vf_tx_rate.vf = ivi.vf; in rtnl_fill_ifinfo()
936 memcpy(vf_mac.mac, ivi.mac, sizeof(ivi.mac)); in rtnl_fill_ifinfo()
945 NLA_PUT(skb, IFLA_VF_MAC, sizeof(vf_mac), &vf_mac); in rtnl_fill_ifinfo()
/linux-2.6.39/drivers/net/igb/
Digb_main.c5174 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_event() local
5178 random_ether_addr(vf_mac); in igb_vf_reset_event()
5187 unsigned char *vf_mac = adapter->vf_data[vf].vf_mac_addresses; in igb_vf_reset_msg() local
5196 igb_rar_set_qsel(adapter, vf_mac, rar_entry, vf); in igb_vf_reset_msg()
5208 memcpy(addr, vf_mac, 6); in igb_vf_reset_msg()