Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
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()
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 …]
Dhinic_sriov.h35 u8 vf_mac_addr[ETH_ALEN]; member
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c197 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()
Dbnxt.h1356 u8 vf_mac_addr[ETH_ALEN]; /* VF assigned MAC address, only member
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
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-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h1058 unsigned char vf_mac_addr[ETH_ALEN]; member
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-6.12.1/drivers/net/ethernet/intel/igb/
Digb_main.c9730 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()