Home
last modified time | relevance | path

Searched refs:OS_VF_ID_TO_HW (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.c758 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()
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()
1304 hinic_deinit_vf_hw(sriov_info, OS_VF_ID_TO_HW(0), in hinic_pci_sriov_disable()
1305 OS_VF_ID_TO_HW(tmp_vfs - 1)); in hinic_pci_sriov_disable()
1326 err = hinic_init_vf_hw(sriov_info->hwdev, OS_VF_ID_TO_HW(0), in hinic_pci_sriov_enable()
[all …]
H A Dhinic_sriov.h11 #define OS_VF_ID_TO_HW(os_vf_id) ((os_vf_id) + 1) macro