Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.c224 err = hinic_set_mac(hwdev, vf_info->vf_mac_addr, vlan_id, in hinic_init_vf_config()
333 memcpy(mac_info->mac, vf_info->vf_mac_addr, ETH_ALEN); in hinic_get_vf_mac_msg_handler()
388 !memcmp(vf_info->vf_mac_addr, mac_in->mac, ETH_ALEN)) { in hinic_del_vf_mac_msg_handler()
581 memcpy(ivi->mac, vfinfo->vf_mac_addr, ETH_ALEN); in hinic_get_vf_config()
624 !memcmp(vf_info->vf_mac_addr, mac_addr, ETH_ALEN)) in hinic_set_vf_mac()
630 err = hinic_update_mac(hwdev, vf_info->vf_mac_addr, in hinic_set_vf_mac()
637 memcpy(vf_info->vf_mac_addr, mac_addr, ETH_ALEN); in hinic_set_vf_mac()
723 HW_VF_ID_TO_OS(vf_id), vf_info->vf_mac_addr, old_vlan); in hinic_update_mac_vlan()
734 HW_VF_ID_TO_OS(vf_id), vf_info->vf_mac_addr, new_vlan); in hinic_update_mac_vlan()
744 hinic_port_add_mac(nic_dev, vf_info->vf_mac_addr, vlan_id); in hinic_update_mac_vlan()
[all …]
H A Dhinic_sriov.h35 u8 vf_mac_addr[ETH_ALEN]; member
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c196 memcpy(&ivi->mac, vf->vf_mac_addr, ETH_ALEN); in bnxt_get_vf_config()
1037 ether_addr_copy(vf->vf_mac_addr, req->dflt_mac_addr); in bnxt_vf_configure_mac()
1065 } else if (is_valid_ether_addr(vf->vf_mac_addr)) { in bnxt_vf_validate_set_mac()
1066 if (ether_addr_equal((const u8 *)req->l2_addr, vf->vf_mac_addr)) in bnxt_vf_validate_set_mac()
H A Dbnxt.h1326 u8 vf_mac_addr[ETH_ALEN]; /* VF assigned MAC address, only member
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c1443 unsigned char *vf_mac_addr = in ixgbe_ndo_set_vf_mac() local
1447 if (is_zero_ether_addr(vf_mac_addr)) in ixgbe_ndo_set_vf_mac()
1452 retval = ixgbe_del_mac_filter(adapter, vf_mac_addr, vf); in ixgbe_ndo_set_vf_mac()
1455 memcpy(vf_mac_addr, mac, ETH_ALEN); in ixgbe_ndo_set_vf_mac()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h1058 unsigned char vf_mac_addr[ETH_ALEN]; member
H A Dcxgb4_main.c3229 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, macaddr); in cxgb4_mgmt_fill_vf_station_mac_addr()
3251 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, mac); in cxgb4_mgmt_set_vf_mac()
3269 ether_addr_copy(ivi->mac, vfinfo->vf_mac_addr); in cxgb4_mgmt_get_vf_config()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c9703 unsigned char *vf_mac_addr = adapter->vf_data[vf].vf_mac_addresses; in igb_set_vf_mac() local
9705 ether_addr_copy(vf_mac_addr, mac_addr); in igb_set_vf_mac()