Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A 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()
517 clear_bit(ICE_VF_STATE_QS_ENA, vf->vf_states); in ice_set_vf_state_qs_dis()
530 clear_bit(ICE_VF_STATE_MC_PROMISC, vf->vf_states); in ice_vf_set_initialized()
531 clear_bit(ICE_VF_STATE_UC_PROMISC, vf->vf_states); in ice_vf_set_initialized()
532 clear_bit(ICE_VF_STATE_DIS, vf->vf_states); in ice_vf_set_initialized()
533 set_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_vf_set_initialized()
803 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()
511 set_bit(ICE_VF_STATE_ACTIVE, vf->vf_states); in ice_vc_get_vf_res_msg()
532 if (test_bit(ICE_VF_STATE_INIT, vf->vf_states)) in ice_vc_reset_vf_msg()
1084 vf->vf_states)) in ice_vc_cfg_promiscuous_mode_msg()
1099 vf->vf_states)) in ice_vc_cfg_promiscuous_mode_msg()
1295 set_bit(ICE_VF_STATE_QS_ENA, vf->vf_states); in ice_vc_ena_qs_msg()
1435 clear_bit(ICE_VF_STATE_QS_ENA, vf->vf_states); in ice_vc_dis_qs_msg()
1605 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_vc_cfg_qs_msg()
3860 if (test_bit(ICE_VF_STATE_DIS, vf->vf_states)) in ice_is_malicious_vf()
[all …]
H A Dice_sriov.c55 clear_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_free_vf_res()
79 clear_bit(ICE_VF_STATE_MC_PROMISC, vf->vf_states); in ice_free_vf_res()
80 clear_bit(ICE_VF_STATE_UC_PROMISC, vf->vf_states); in ice_free_vf_res()
182 if (test_bit(ICE_VF_STATE_INIT, vf->vf_states)) { in ice_free_vfs()
185 set_bit(ICE_VF_STATE_DIS, vf->vf_states); in ice_free_vfs()
583 set_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_start_vfs()
H A Dice_vf_lib.h120 DECLARE_BITMAP(vf_states, ICE_VF_STATES_NBITS); /* VF runtime states */
H A Dice_virtchnl_fdir.c104 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_vc_fdir_param_check()
1680 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_flush_fdir_ctx()
H A Dice_ethtool.c498 if (test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_active_vfs()
/openbmc/linux/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()
1035 clear_bit(I40E_VF_STATE_INIT, &vf->vf_states); in i40e_free_vf_res()
1163 set_bit(I40E_VF_STATE_INIT, &vf->vf_states); in i40e_alloc_vf_res()
1538 &vf->vf_states)) in i40e_cleanup_reset_vf()
2041 if (test_bit(state, &vf->vf_states)) in i40e_sync_vf_state()
2046 return test_bit(state, &vf->vf_states); in i40e_sync_vf_state()
2295 &vf->vf_states)) in i40e_vc_config_promiscuous_mode_msg()
2300 &vf->vf_states)) in i40e_vc_config_promiscuous_mode_msg()
2307 &vf->vf_states)) in i40e_vc_config_promiscuous_mode_msg()
[all …]
H A Di40e_virtchnl_pf.h98 unsigned long vf_states; /* vf's runtime states */ member
H A Di40e_ethtool.c2656 if (test_bit(I40E_VF_STATE_ACTIVE, &vfs[i].vf_states)) in i40e_active_vfs()
H A Di40e_main.c11271 set_bit(I40E_VF_STATE_DISABLED, &vf->vf_states); in i40e_handle_mdd_event()
11282 set_bit(I40E_VF_STATE_DISABLED, &vf->vf_states); in i40e_handle_mdd_event()