Home
last modified time | relevance | path

Searched refs:vf_states (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_vf_lib.c146 test_bit(ICE_VF_STATE_DIS, vf->vf_states)); in ice_is_vf_disabled()
161 if (test_bit(ICE_VF_STATE_INIT, vf->vf_states)) in ice_wait_on_vf_reset()
201 clear_bit(ICE_VF_STATE_ACTIVE, vf->vf_states); in ice_trigger_vf_reset()
206 clear_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_trigger_vf_reset()
289 if (test_bit(ICE_VF_STATE_UC_PROMISC, vf->vf_states) || in ice_is_any_vf_in_promisc()
290 test_bit(ICE_VF_STATE_MC_PROMISC, vf->vf_states)) { in ice_is_any_vf_in_promisc()
458 if ((!test_bit(ICE_VF_STATE_INIT, vf->vf_states) && in ice_notify_vf_reset()
459 !test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) || in ice_notify_vf_reset()
460 test_bit(ICE_VF_STATE_DIS, vf->vf_states)) in ice_notify_vf_reset()
525 set_bit(ICE_VF_STATE_DIS, vf->vf_states); in ice_reset_vf()
[all …]
Dice_virtchnl.c187 if (!test_bit(ICE_VF_STATE_INIT, vf->vf_states) && in ice_vc_vf_broadcast()
188 !test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_vc_vf_broadcast()
492 set_bit(ICE_VF_STATE_ACTIVE, vf->vf_states); in ice_vc_get_vf_res_msg()
513 if (test_bit(ICE_VF_STATE_INIT, vf->vf_states)) in ice_vc_reset_vf_msg()
766 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_vc_handle_rss_cfg()
883 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_vc_config_rss_key()
929 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_vc_config_rss_lut()
982 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_vc_cfg_promiscuous_mode_msg()
1074 !test_and_set_bit(ICE_VF_STATE_MC_PROMISC, vf->vf_states)) in ice_vc_cfg_promiscuous_mode_msg()
1079 vf->vf_states)) in ice_vc_cfg_promiscuous_mode_msg()
[all …]
Dice_sriov.c70 clear_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_free_vf_res()
94 clear_bit(ICE_VF_STATE_MC_PROMISC, vf->vf_states); in ice_free_vf_res()
95 clear_bit(ICE_VF_STATE_UC_PROMISC, vf->vf_states); in ice_free_vf_res()
206 if (test_bit(ICE_VF_STATE_INIT, vf->vf_states)) { in ice_free_vfs()
209 set_bit(ICE_VF_STATE_DIS, vf->vf_states); in ice_free_vfs()
663 set_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_start_vfs()
1866 if (test_bit(ICE_VF_STATE_DIS, vf->vf_states)) in ice_is_malicious_vf()
Dice_vf_lib.h118 DECLARE_BITMAP(vf_states, ICE_VF_STATES_NBITS); /* VF runtime states */
Dice_virtchnl_fdir.c104 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_vc_fdir_param_check()
1595 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_flush_fdir_ctx()
Dice_ethtool.c323 if (test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_active_vfs()
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c30 if (!test_bit(I40E_VF_STATE_INIT, &vf->vf_states) && in i40e_vc_vf_broadcast()
31 !test_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states)) in i40e_vc_vf_broadcast()
171 if (!test_bit(I40E_VF_STATE_INIT, &vf->vf_states) && in i40e_vc_notify_vf_reset()
172 !test_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states)) in i40e_vc_notify_vf_reset()
1005 clear_bit(I40E_VF_STATE_INIT, &vf->vf_states); in i40e_free_vf_res()
1066 clear_bit(I40E_VF_STATE_MC_PROMISC, &vf->vf_states); in i40e_free_vf_res()
1067 clear_bit(I40E_VF_STATE_UC_PROMISC, &vf->vf_states); in i40e_free_vf_res()
1133 set_bit(I40E_VF_STATE_INIT, &vf->vf_states); in i40e_alloc_vf_res()
1423 vf_active = test_and_clear_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states); in i40e_trigger_vf_reset()
1431 clear_bit(I40E_VF_STATE_INIT, &vf->vf_states); in i40e_trigger_vf_reset()
[all …]
Di40e_virtchnl_pf.h95 unsigned long vf_states; /* vf's runtime states */ member
Di40e_ethtool.c2566 if (test_bit(I40E_VF_STATE_ACTIVE, &vfs[i].vf_states)) in i40e_active_vfs()
Di40e_main.c11062 set_bit(I40E_VF_STATE_DISABLED, &vf->vf_states); in i40e_handle_mdd_event()
11073 set_bit(I40E_VF_STATE_DISABLED, &vf->vf_states); in i40e_handle_mdd_event()