Searched refs:vf_mac_addr (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.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() 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() 720 err = hinic_port_del_mac(nic_dev, vf_info->vf_mac_addr, vlan_id); in hinic_update_mac_vlan() 723 HW_VF_ID_TO_OS(vf_id), vf_info->vf_mac_addr, old_vlan); in hinic_update_mac_vlan() 731 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-6.12.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 197 memcpy(&ivi->mac, vf->vf_mac_addr, ETH_ALEN); in bnxt_get_vf_config() 1034 ether_addr_copy(vf->vf_mac_addr, req->dflt_mac_addr); in bnxt_vf_configure_mac() 1062 } else if (is_valid_ether_addr(vf->vf_mac_addr)) { in bnxt_vf_validate_set_mac() 1063 if (ether_addr_equal((const u8 *)req->l2_addr, vf->vf_mac_addr)) in bnxt_vf_validate_set_mac()
|
D | bnxt.h | 1356 u8 vf_mac_addr[ETH_ALEN]; /* VF assigned MAC address, only member
|
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 1443 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-6.12.1/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 1058 unsigned char vf_mac_addr[ETH_ALEN]; member
|
D | cxgb4_main.c | 3229 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-6.12.1/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 9730 unsigned char *vf_mac_addr = adapter->vf_data[vf].vf_mac_addresses; in igb_set_vf_mac() local 9732 ether_addr_copy(vf_mac_addr, mac_addr); in igb_set_vf_mac()
|