Searched refs:OS_VF_ID_TO_HW (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 588 hinic_get_vf_config(sriov_info->hwdev, OS_VF_ID_TO_HW(vf), ivi); in hinic_ndo_get_vf_config() 633 err = hinic_set_vf_mac(sriov_info->hwdev, OS_VF_ID_TO_HW(vf), mac); in hinic_ndo_set_vf_mac() 739 OS_VF_ID_TO_HW(vf)); in set_hw_vf_vlan() 747 OS_VF_ID_TO_HW(vf), vlan, qos); in set_hw_vf_vlan() 754 err = hinic_kill_vf_vlan(nic_dev->hwdev, OS_VF_ID_TO_HW(vf)); in set_hw_vf_vlan() 763 OS_VF_ID_TO_HW(vf)); in set_hw_vf_vlan() 783 OS_VF_ID_TO_HW(vf)); in hinic_ndo_set_vf_vlan() 885 err = hinic_set_vf_tx_rate(nic_dev->hwdev, OS_VF_ID_TO_HW(vf), in hinic_ndo_set_vf_bw() 953 OS_VF_ID_TO_HW(vf), setting); in hinic_ndo_set_vf_spoofchk() 1014 OS_VF_ID_TO_HW(vf_id), link); in hinic_ndo_set_vf_link_state() [all …]
|
D | hinic_sriov.h | 11 #define OS_VF_ID_TO_HW(os_vf_id) ((os_vf_id) + 1) macro
|