Searched refs:vf_mac_addr (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 222 err = hinic_set_mac(hwdev, vf_info->vf_mac_addr, vlan_id, in hinic_init_vf_config() 331 memcpy(mac_info->mac, vf_info->vf_mac_addr, ETH_ALEN); in hinic_get_vf_mac_msg_handler() 386 !memcmp(vf_info->vf_mac_addr, mac_in->mac, ETH_ALEN)) { in hinic_del_vf_mac_msg_handler() 561 memcpy(ivi->mac, vfinfo->vf_mac_addr, ETH_ALEN); in hinic_get_vf_config() 604 !memcmp(vf_info->vf_mac_addr, mac_addr, ETH_ALEN)) in hinic_set_vf_mac() 610 err = hinic_update_mac(hwdev, vf_info->vf_mac_addr, in hinic_set_vf_mac() 617 memcpy(vf_info->vf_mac_addr, mac_addr, ETH_ALEN); in hinic_set_vf_mac() 700 err = hinic_port_del_mac(nic_dev, vf_info->vf_mac_addr, vlan_id); in hinic_update_mac_vlan() 703 HW_VF_ID_TO_OS(vf_id), vf_info->vf_mac_addr, old_vlan); in hinic_update_mac_vlan() 711 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
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 187 memcpy(&ivi->mac, vf->vf_mac_addr, ETH_ALEN); in bnxt_get_vf_config() 978 ether_addr_copy(vf->vf_mac_addr, req->dflt_mac_addr); in bnxt_vf_configure_mac() 1006 } else if (is_valid_ether_addr(vf->vf_mac_addr)) { in bnxt_vf_validate_set_mac() 1007 if (ether_addr_equal((const u8 *)req->l2_addr, vf->vf_mac_addr)) in bnxt_vf_validate_set_mac()
|
D | bnxt.h | 1093 u8 vf_mac_addr[ETH_ALEN]; /* VF assigned MAC address, only member
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 1060 unsigned char vf_mac_addr[ETH_ALEN]; member
|
D | cxgb4_main.c | 3232 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, macaddr); in cxgb4_mgmt_fill_vf_station_mac_addr() 3254 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, mac); in cxgb4_mgmt_set_vf_mac() 3272 ether_addr_copy(ivi->mac, vfinfo->vf_mac_addr); in cxgb4_mgmt_get_vf_config()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 9602 unsigned char *vf_mac_addr = adapter->vf_data[vf].vf_mac_addresses; in igb_set_vf_mac() local 9604 ether_addr_copy(vf_mac_addr, mac_addr); in igb_set_vf_mac()
|