Home
last modified time | relevance | path

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

/Linux-v5.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
/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h99 bool link_forced; member
Di40e_virtchnl_pf.c63 } else if (vf->link_forced) { in i40e_vc_notify_vf_link_state()
4417 if (vf->link_forced == false) in i40e_ndo_get_vf_config()
4470 vf->link_forced = false; in i40e_ndo_set_vf_link_state()
4478 vf->link_forced = true; in i40e_ndo_set_vf_link_state()
4484 vf->link_forced = true; in i40e_ndo_set_vf_link_state()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.h85 u8 link_forced:1; member
Dice_virtchnl_pf.c152 else if (vf->link_forced) in ice_is_vf_link_up()
3791 if (!vf->link_forced) in ice_get_vf_cfg()
3950 vf->link_forced = false; in ice_set_vf_link_state()
3953 vf->link_forced = true; in ice_set_vf_link_state()
3957 vf->link_forced = true; in ice_set_vf_link_state()