Searched refs:HW_VF_ID_TO_OS (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A 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() 151 HW_VF_ID_TO_OS(vf_id), max_rate, min_rate, err, in hinic_set_vf_tx_rate_max_min() 228 HW_VF_ID_TO_OS(vf_id)); in hinic_init_vf_config() 238 HW_VF_ID_TO_OS(vf_id)); in hinic_init_vf_config() 248 HW_VF_ID_TO_OS(vf_id), vf_info->max_rate, in hinic_init_vf_config() 269 HW_VF_ID_TO_OS(vf_id), HW_VF_ID_TO_OS(nic_io->max_vfs)); in hinic_register_vf_msg_handler() 356 HW_VF_ID_TO_OS(vf_id)); in hinic_set_vf_mac_msg_handler() 580 ivi->vf = HW_VF_ID_TO_OS(vf_id); in hinic_get_vf_config() 676 vlan, qos, HW_VF_ID_TO_OS(vf_id)); in hinic_add_vf_vlan() [all …]
|
H A D | hinic_sriov.h | 12 #define HW_VF_ID_TO_OS(hw_vf_id) ((hw_vf_id) - 1) macro
|