Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c79 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_notify_all_vfs_link_changed() local
82 nic_io->link_status = link_status; in hinic_notify_all_vfs_link_changed()
83 for (i = 1; i <= nic_io->max_vfs; i++) { in hinic_notify_all_vfs_link_changed()
84 if (!nic_io->vf_infos[HW_VF_ID_TO_OS(i)].link_forced) in hinic_notify_all_vfs_link_changed()
91 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_vf_info_vlanprio() local
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()
137 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_set_vf_tx_rate_max_min() local
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()
[all …]