Searched refs:OS_VF_ID_TO_HW (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 607 hinic_get_vf_config(sriov_info->hwdev, OS_VF_ID_TO_HW(vf), ivi); in hinic_ndo_get_vf_config() 652 err = hinic_set_vf_mac(sriov_info->hwdev, OS_VF_ID_TO_HW(vf), mac); in hinic_ndo_set_vf_mac() 758 OS_VF_ID_TO_HW(vf)); in set_hw_vf_vlan() 766 OS_VF_ID_TO_HW(vf), vlan, qos); in set_hw_vf_vlan() 773 err = hinic_kill_vf_vlan(nic_dev->hwdev, OS_VF_ID_TO_HW(vf)); in set_hw_vf_vlan() 782 OS_VF_ID_TO_HW(vf)); in set_hw_vf_vlan() 802 OS_VF_ID_TO_HW(vf)); in hinic_ndo_set_vf_vlan() 898 err = hinic_set_vf_tx_rate(nic_dev->hwdev, OS_VF_ID_TO_HW(vf), in hinic_ndo_set_vf_bw() 966 OS_VF_ID_TO_HW(vf), setting); in hinic_ndo_set_vf_spoofchk() 1027 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
|