Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c82 if (!nic_io->vf_infos[HW_VF_ID_TO_OS(i)].link_forced) in hinic_notify_all_vfs_link_changed()
412 bool link_forced, link_up; in hinic_get_vf_link_status_msg_handler() local
416 link_forced = vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced; in hinic_get_vf_link_status_msg_handler()
419 if (link_forced) in hinic_get_vf_link_status_msg_handler()
569 if (!vfinfo->link_forced) in hinic_get_vf_config()
972 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced = false; in hinic_set_vf_link_state()
978 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced = true; in hinic_set_vf_link_state()
983 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced = true; in hinic_set_vf_link_state()
1093 vf_infos[vf_id].link_forced = false; in hinic_init_vf_infos()
1096 vf_infos[vf_id].link_forced = true; in hinic_init_vf_infos()
[all …]
Dhinic_sriov.h43 bool link_forced; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h98 bool link_forced; member
Di40e_virtchnl_pf.c58 if (vf->link_forced) { in i40e_vc_notify_vf_link_state()
4534 if (vf->link_forced == false) in i40e_ndo_get_vf_config()
4587 vf->link_forced = false; in i40e_ndo_set_vf_link_state()
4595 vf->link_forced = true; in i40e_ndo_set_vf_link_state()
4601 vf->link_forced = true; in i40e_ndo_set_vf_link_state()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.h89 u8 link_forced:1; member
Dice_virtchnl_pf.c152 else if (vf->link_forced) in ice_is_vf_link_up()
3846 if (!vf->link_forced) in ice_get_vf_cfg()
4012 vf->link_forced = false; in ice_set_vf_link_state()
4015 vf->link_forced = true; in ice_set_vf_link_state()
4019 vf->link_forced = true; in ice_set_vf_link_state()