Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/huawei/hinic/
H A 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 in hinic_set_vf_tx_rate_max_min()
167 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; hinic_set_vf_rate_limit() local
263 struct hinic_func_to_io *nic_io; hinic_register_vf_msg_handler() local
291 struct hinic_func_to_io *nic_io; hinic_unregister_vf_msg_handler() local
327 struct hinic_func_to_io *nic_io; hinic_get_vf_mac_msg_handler() local
347 struct hinic_func_to_io *nic_io; hinic_set_vf_mac_msg_handler() local
381 struct hinic_func_to_io *nic_io; hinic_del_vf_mac_msg_handler() local
413 struct hinic_func_to_io *nic_io; hinic_get_vf_link_status_msg_handler() local
615 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; hinic_set_vf_mac() local
665 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; hinic_add_vf_vlan() local
682 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; hinic_kill_vf_vlan() local
814 struct hinic_func_to_io *nic_io; hinic_set_vf_trust() local
830 struct hinic_func_to_io *nic_io; hinic_ndo_set_vf_trust() local
982 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; hinic_set_vf_link_state() local
1037 struct hinic_func_to_io *nic_io; nic_pf_mbox_handler() local
1097 hinic_init_vf_infos(struct hinic_func_to_io * nic_io,u16 vf_id) hinic_init_vf_infos() argument
1173 struct hinic_func_to_io *nic_io; hinic_vf_func_init() local
[all...]
/linux/drivers/net/ethernet/huawei/hinic3/
H A Dhinic3_nic_cfg.c45 &nic_dev->nic_io->feature_cap, 1); in hinic3_set_nic_feature_to_hw()
51 return (nic_dev->nic_io->feature_cap & feature_bits) == feature_bits; in hinic3_test_support()
56 nic_dev->nic_io->feature_cap = feature_cap; in hinic3_update_nic_feature()
H A Dhinic3_nic_dev.h58 struct hinic3_nic_io *nic_io; member