Searched refs:vf_states (Results 1 – 10 of 10) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/intel/ice/ |
D | ice_vf_lib.c | 146 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 …]
|
D | ice_virtchnl.c | 187 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 …]
|
D | ice_sriov.c | 70 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()
|
D | ice_vf_lib.h | 118 DECLARE_BITMAP(vf_states, ICE_VF_STATES_NBITS); /* VF runtime states */
|
D | ice_virtchnl_fdir.c | 104 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()
|
D | ice_ethtool.c | 323 if (test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_active_vfs()
|
/linux-5.19.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 30 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 …]
|
D | i40e_virtchnl_pf.h | 95 unsigned long vf_states; /* vf's runtime states */ member
|
D | i40e_ethtool.c | 2566 if (test_bit(I40E_VF_STATE_ACTIVE, &vfs[i].vf_states)) in i40e_active_vfs()
|
D | i40e_main.c | 11062 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()
|