Searched refs:vf_mac_addr (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 224 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() 563 memcpy(ivi->mac, vfinfo->vf_mac_addr, ETH_ALEN); in hinic_get_vf_config() 606 !memcmp(vf_info->vf_mac_addr, mac_addr, ETH_ALEN)) in hinic_set_vf_mac() 612 err = hinic_update_mac(hwdev, vf_info->vf_mac_addr, in hinic_set_vf_mac() 619 memcpy(vf_info->vf_mac_addr, mac_addr, ETH_ALEN); in hinic_set_vf_mac() 702 err = hinic_port_del_mac(nic_dev, vf_info->vf_mac_addr, vlan_id); in hinic_update_mac_vlan() 705 HW_VF_ID_TO_OS(vf_id), vf_info->vf_mac_addr, old_vlan); in hinic_update_mac_vlan() 713 err = hinic_port_add_mac(nic_dev, vf_info->vf_mac_addr, vlan_id); in hinic_update_mac_vlan() [all …]
|
D | hinic_sriov.h | 35 u8 vf_mac_addr[ETH_ALEN]; member
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 196 memcpy(&ivi->mac, vf->vf_mac_addr, ETH_ALEN); in bnxt_get_vf_config() 1015 ether_addr_copy(vf->vf_mac_addr, req->dflt_mac_addr); in bnxt_vf_configure_mac() 1043 } else if (is_valid_ether_addr(vf->vf_mac_addr)) { in bnxt_vf_validate_set_mac() 1044 if (ether_addr_equal((const u8 *)req->l2_addr, vf->vf_mac_addr)) in bnxt_vf_validate_set_mac()
|
D | bnxt.h | 1108 u8 vf_mac_addr[ETH_ALEN]; /* VF assigned MAC address, only member
|
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 1446 unsigned char *vf_mac_addr = in ixgbe_ndo_set_vf_mac() local 1450 if (is_zero_ether_addr(vf_mac_addr)) in ixgbe_ndo_set_vf_mac() 1455 retval = ixgbe_del_mac_filter(adapter, vf_mac_addr, vf); in ixgbe_ndo_set_vf_mac() 1458 memcpy(vf_mac_addr, mac, ETH_ALEN); in ixgbe_ndo_set_vf_mac()
|
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 1058 unsigned char vf_mac_addr[ETH_ALEN]; member
|
D | cxgb4_main.c | 3230 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, macaddr); in cxgb4_mgmt_fill_vf_station_mac_addr() 3252 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, mac); in cxgb4_mgmt_set_vf_mac() 3270 ether_addr_copy(ivi->mac, vfinfo->vf_mac_addr); in cxgb4_mgmt_get_vf_config()
|
/Linux-v6.1/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 9698 unsigned char *vf_mac_addr = adapter->vf_data[vf].vf_mac_addresses; in igb_set_vf_mac() local 9700 ether_addr_copy(vf_mac_addr, mac_addr); in igb_set_vf_mac()
|