Home
last modified time | relevance | path

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

/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()
974 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced = false; in hinic_set_vf_link_state()
980 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced = true; in hinic_set_vf_link_state()
985 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced = true; in hinic_set_vf_link_state()
1095 vf_infos[vf_id].link_forced = false; in hinic_init_vf_infos()
1098 vf_infos[vf_id].link_forced = true; in hinic_init_vf_infos()
[all …]
Dhinic_sriov.h43 bool link_forced; member
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h98 bool link_forced; member
Di40e_virtchnl_pf.c88 if (vf->link_forced) in i40e_set_vf_link_state()
4611 if (vf->link_forced == false) in i40e_ndo_get_vf_config()
4668 vf->link_forced = false; in i40e_ndo_set_vf_link_state()
4675 vf->link_forced = true; in i40e_ndo_set_vf_link_state()
4683 vf->link_forced = true; in i40e_ndo_set_vf_link_state()
/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.h99 u8 link_forced:1; member
Dice_virtchnl_pf.c402 else if (vf->link_forced) in ice_is_vf_link_up()
4597 if (!vf->link_forced) in ice_get_vf_cfg()
4765 vf->link_forced = false; in ice_set_vf_link_state()
4768 vf->link_forced = true; in ice_set_vf_link_state()
4772 vf->link_forced = true; in ice_set_vf_link_state()