Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c83 if (!nic_io->vf_infos[HW_VF_ID_TO_OS(i)].link_forced) in hinic_notify_all_vfs_link_changed()
413 bool link_forced, link_up; in hinic_get_vf_link_status_msg_handler() local
417 link_forced = vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced; in hinic_get_vf_link_status_msg_handler()
420 if (link_forced) in hinic_get_vf_link_status_msg_handler()
570 if (!vfinfo->link_forced) in hinic_get_vf_config()
975 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced = false; in hinic_set_vf_link_state()
981 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced = true; in hinic_set_vf_link_state()
986 vf_infos[HW_VF_ID_TO_OS(vf_id)].link_forced = true; in hinic_set_vf_link_state()
1096 vf_infos[vf_id].link_forced = false; in hinic_init_vf_infos()
1099 vf_infos[vf_id].link_forced = true; in hinic_init_vf_infos()
[all …]
Dhinic_sriov.h43 bool link_forced; member
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h97 bool link_forced; member
Di40e_virtchnl_pf.c88 if (vf->link_forced) in i40e_set_vf_link_state()
4555 if (vf->link_forced == false) in i40e_ndo_get_vf_config()
4609 vf->link_forced = false; in i40e_ndo_set_vf_link_state()
4613 vf->link_forced = true; in i40e_ndo_set_vf_link_state()
4618 vf->link_forced = true; in i40e_ndo_set_vf_link_state()
/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_repr.c101 vf->link_forced = true; in ice_repr_open()
127 vf->link_forced = true; in ice_repr_stop()
Dice_vf_lib.h109 u8 link_forced:1; member
Dice_sriov.c1298 if (!vf->link_forced) in ice_get_vf_cfg()
1444 vf->link_forced = false; in ice_set_vf_link_state()
1447 vf->link_forced = true; in ice_set_vf_link_state()
1451 vf->link_forced = true; in ice_set_vf_link_state()
Dice_vf_lib.c794 else if (vf->link_forced) in ice_is_vf_link_up()