Searched refs:vf_states (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A 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() 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 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() 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 D | ice_sriov.c | 55 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 D | ice_vf_lib.h | 120 DECLARE_BITMAP(vf_states, ICE_VF_STATES_NBITS); /* VF runtime states */
|
H A D | ice_virtchnl_fdir.c | 104 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 D | ice_ethtool.c | 498 if (test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_active_vfs()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_virtchnl_pf.c | 32 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 D | i40e_virtchnl_pf.h | 98 unsigned long vf_states; /* vf's runtime states */ member
|
H A D | i40e_ethtool.c | 2656 if (test_bit(I40E_VF_STATE_ACTIVE, &vfs[i].vf_states)) in i40e_active_vfs()
|
H A D | i40e_main.c | 11271 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()
|