Searched refs:HW_VF_ID_TO_OS (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 58 if (vf_infos[HW_VF_ID_TO_OS(vf_id)].registered) { in hinic_notify_vf_link_status() 68 HW_VF_ID_TO_OS(vf_id), err, in hinic_notify_vf_link_status() 82 if (!nic_io->vf_infos[HW_VF_ID_TO_OS(i)].link_forced) in hinic_notify_all_vfs_link_changed() 93 pf_vlan = nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].pf_vlan; in hinic_vf_info_vlanprio() 94 pf_qos = nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].pf_qos; in hinic_vf_info_vlanprio() 125 HW_VF_ID_TO_OS(vf_id), err, vf_vlan.status, out_size); in hinic_set_vf_vlan() 149 HW_VF_ID_TO_OS(vf_id), max_rate, min_rate, err, in hinic_set_vf_tx_rate_max_min() 155 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].max_rate = max_rate; in hinic_set_vf_tx_rate_max_min() 156 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].min_rate = min_rate; in hinic_set_vf_tx_rate_max_min() 177 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
|