Searched refs:HW_VF_ID_TO_OS (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 60 if (vf_infos[HW_VF_ID_TO_OS(vf_id)].registered) { in hinic_notify_vf_link_status() 70 HW_VF_ID_TO_OS(vf_id), err, in hinic_notify_vf_link_status() 84 if (!nic_io->vf_infos[HW_VF_ID_TO_OS(i)].link_forced) in hinic_notify_all_vfs_link_changed() 95 pf_vlan = nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].pf_vlan; in hinic_vf_info_vlanprio() 96 pf_qos = nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].pf_qos; in hinic_vf_info_vlanprio() 127 HW_VF_ID_TO_OS(vf_id), err, vf_vlan.status, out_size); in hinic_set_vf_vlan() 151 HW_VF_ID_TO_OS(vf_id), max_rate, min_rate, err, in hinic_set_vf_tx_rate_max_min() 157 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].max_rate = max_rate; in hinic_set_vf_tx_rate_max_min() 158 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].min_rate = min_rate; in hinic_set_vf_tx_rate_max_min() 179 HW_VF_ID_TO_OS(vf_id), tx_rate, err, rate_cfg.status, in hinic_set_vf_rate_limit() [all …]
|
D | hinic_sriov.h | 12 #define HW_VF_ID_TO_OS(hw_vf_id) ((hw_vf_id) - 1) macro
|