Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_vf_lib.c148 test_bit(ICE_VF_STATE_DIS, vf->vf_states)); in ice_is_vf_disabled()
163 if (test_bit(ICE_VF_STATE_INIT, vf->vf_states)) in ice_wait_on_vf_reset()
203 clear_bit(ICE_VF_STATE_ACTIVE, vf->vf_states); in ice_trigger_vf_reset()
208 clear_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_trigger_vf_reset()
532 clear_bit(ICE_VF_STATE_QS_ENA, vf->vf_states); in ice_set_vf_state_qs_dis()
545 clear_bit(ICE_VF_STATE_MC_PROMISC, vf->vf_states); in ice_vf_set_initialized()
546 clear_bit(ICE_VF_STATE_UC_PROMISC, vf->vf_states); in ice_vf_set_initialized()
547 clear_bit(ICE_VF_STATE_DIS, vf->vf_states); in ice_vf_set_initialized()
548 set_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_vf_set_initialized()
834 test_bit(ICE_VF_STATE_DIS, vf->vf_states)) in ice_notify_vf_reset()
[all …]
H A 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()
524 set_bit(ICE_VF_STATE_ACTIVE, vf->vf_states); in ice_vc_get_vf_res_msg()
545 if (test_bit(ICE_VF_STATE_INIT, vf->vf_states)) in ice_vc_reset_vf_msg()
1340 vf->vf_states)) in ice_vc_cfg_promiscuous_mode_msg()
1355 vf->vf_states)) in ice_vc_cfg_promiscuous_mode_msg()
1551 set_bit(ICE_VF_STATE_QS_ENA, vf->vf_states); in ice_vc_ena_qs_msg()
1691 clear_bit(ICE_VF_STATE_QS_ENA, vf->vf_states); in ice_vc_dis_qs_msg()
2019 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_vc_cfg_qs_msg()
4385 if (test_bit(ICE_VF_STATE_DIS, vf->vf_states)) in ice_is_malicious_vf()
[all …]
H A Dice_sriov.c56 clear_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_free_vf_res()
80 clear_bit(ICE_VF_STATE_MC_PROMISC, vf->vf_states); in ice_free_vf_res()
81 clear_bit(ICE_VF_STATE_UC_PROMISC, vf->vf_states); in ice_free_vf_res()
162 if (test_bit(ICE_VF_STATE_INIT, vf->vf_states)) { in ice_free_vfs()
165 set_bit(ICE_VF_STATE_DIS, vf->vf_states); in ice_free_vfs()
494 set_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_start_vfs()
887 test_bit(ICE_VF_STATE_ACTIVE, tmp_vf->vf_states)) in ice_sriov_remap_vectors()
H A Dice_vf_lib.h132 DECLARE_BITMAP(vf_states, ICE_VF_STATES_NBITS); /* VF runtime states */
H A Dice_virtchnl_fdir.c105 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_vc_fdir_param_check()
1818 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_flush_fdir_ctx()
H A Dice_ethtool.c906 if (test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_active_vfs()
/linux-6.15/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c32 if (!test_bit(I40E_VF_STATE_INIT, &vf->vf_states) && in i40e_vc_vf_broadcast()
33 !test_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states)) in i40e_vc_vf_broadcast()
1029 clear_bit(I40E_VF_STATE_INIT, &vf->vf_states); in i40e_free_vf_res()
1157 set_bit(I40E_VF_STATE_INIT, &vf->vf_states); in i40e_alloc_vf_res()
1532 &vf->vf_states)) in i40e_cleanup_reset_vf()
2035 if (test_bit(state, &vf->vf_states)) in i40e_sync_vf_state()
2040 return test_bit(state, &vf->vf_states); in i40e_sync_vf_state()
2291 &vf->vf_states)) in i40e_vc_config_promiscuous_mode_msg()
2296 &vf->vf_states)) in i40e_vc_config_promiscuous_mode_msg()
2303 &vf->vf_states)) in i40e_vc_config_promiscuous_mode_msg()
[all …]
H A Di40e_virtchnl_pf.h106 unsigned long vf_states; /* vf's runtime states */ member
H A Di40e_ethtool.c2660 if (test_bit(I40E_VF_STATE_ACTIVE, &vfs[i].vf_states)) in i40e_active_vfs()
H A Di40e_main.c11316 set_bit(I40E_VF_STATE_DISABLED, &vf->vf_states); in i40e_handle_mdd_event()
11325 set_bit(I40E_VF_STATE_DISABLED, &vf->vf_states); in i40e_handle_mdd_event()