Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c84 if (!nic_io->vf_infos[HW_VF_ID_TO_OS(i)].link_forced) in hinic_notify_all_vfs_link_changed()
414 bool link_forced, link_up; in hinic_get_vf_link_status_msg_handler() local
418 link_forced = vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced; in hinic_get_vf_link_status_msg_handler()
421 if (link_forced) in hinic_get_vf_link_status_msg_handler()
589 if (!vfinfo->link_forced) in hinic_get_vf_config()
988 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced = false; in hinic_set_vf_link_state()
994 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced = true; in hinic_set_vf_link_state()
999 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced = true; in hinic_set_vf_link_state()
1109 vf_infos[vf_id].link_forced = false; in hinic_init_vf_infos()
1112 vf_infos[vf_id].link_forced = true; in hinic_init_vf_infos()
[all …]
Dhinic_sriov.h43 bool link_forced; member
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h100 bool link_forced; member
Di40e_virtchnl_pf.c90 if (vf->link_forced) in i40e_set_vf_link_state()
4739 if (vf->link_forced == false) in i40e_ndo_get_vf_config()
4796 vf->link_forced = false; in i40e_ndo_set_vf_link_state()
4803 vf->link_forced = true; in i40e_ndo_set_vf_link_state()
4811 vf->link_forced = true; in i40e_ndo_set_vf_link_state()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_repr.c112 vf->link_forced = true; in ice_repr_vf_open()
146 vf->link_forced = true; in ice_repr_vf_stop()
Dice_vf_lib.h118 u8 link_forced:1; member
Dice_sriov.c1413 if (!vf->link_forced) in ice_get_vf_cfg()
1575 vf->link_forced = false; in ice_set_vf_link_state()
1578 vf->link_forced = true; in ice_set_vf_link_state()
1582 vf->link_forced = true; in ice_set_vf_link_state()
Dice_vf_lib.c1211 else if (vf->link_forced) in ice_is_vf_link_up()