Home
last modified time | relevance | path

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

/linux/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()
533 clear_bit(ICE_VF_STATE_QS_ENA, vf->vf_states); in ice_set_vf_state_qs_dis()
546 clear_bit(ICE_VF_STATE_MC_PROMISC, vf->vf_states); in ice_vf_set_initialized()
547 clear_bit(ICE_VF_STATE_UC_PROMISC, vf->vf_states); in ice_vf_set_initialized()
548 clear_bit(ICE_VF_STATE_DIS, vf->vf_states); in ice_vf_set_initialized()
549 set_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_vf_set_initialized()
585 if (test_bit(ICE_VF_STATE_UC_PROMISC, vf->vf_states)) { in ice_is_any_vf_in_unicast_promisc()
[all …]
H A Dice_sriov.c56 clear_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_free_vf_res()
81 clear_bit(ICE_VF_STATE_MC_PROMISC, vf->vf_states); in ice_free_vf_res()
82 clear_bit(ICE_VF_STATE_UC_PROMISC, vf->vf_states); in ice_free_vf_res()
163 if (test_bit(ICE_VF_STATE_INIT, vf->vf_states)) { in ice_free_vfs()
166 set_bit(ICE_VF_STATE_DIS, vf->vf_states); in ice_free_vfs()
495 set_bit(ICE_VF_STATE_INIT, vf->vf_states); in ice_start_vfs()
888 test_bit(ICE_VF_STATE_ACTIVE, tmp_vf->vf_states)) in ice_sriov_remap_vectors()
H A Dice_ethtool.c909 if (test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_active_vfs()
/linux/drivers/net/ethernet/intel/ice/virt/
H A Dvirtchnl.c37 if (!test_bit(ICE_VF_STATE_INIT, vf->vf_states) && in ice_vc_vf_broadcast()
38 !test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_vc_vf_broadcast()
352 set_bit(ICE_VF_STATE_ACTIVE, vf->vf_states); in ice_vc_get_vf_res_msg()
373 if (test_bit(ICE_VF_STATE_INIT, vf->vf_states)) in ice_vc_reset_vf_msg()
412 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_vc_get_qos_caps()
491 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_vc_cfg_promiscuous_mode_msg()
577 !test_and_set_bit(ICE_VF_STATE_MC_PROMISC, vf->vf_states)) in ice_vc_cfg_promiscuous_mode_msg()
582 vf->vf_states)) in ice_vc_cfg_promiscuous_mode_msg()
592 !test_and_set_bit(ICE_VF_STATE_UC_PROMISC, vf->vf_states)) in ice_vc_cfg_promiscuous_mode_msg()
597 vf->vf_states)) in ice_vc_cfg_promiscuous_mode_msg()
[all …]
H A Drss.c1590 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_vc_handle_rss_cfg()
1693 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_vc_config_rss_key()
1739 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_vc_config_rss_lut()
1786 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_vc_config_rss_hfunc()
1827 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_vc_get_rss_hashcfg()
1871 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) { in ice_vc_set_rss_hashcfg()
H A Dfdir.c105 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_vc_fdir_param_check()
1819 if (!test_bit(ICE_VF_STATE_ACTIVE, vf->vf_states)) in ice_flush_fdir_ctx()
/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()
199 if (!test_bit(I40E_VF_STATE_INIT, &vf->vf_states) && in i40e_vc_notify_vf_reset()
200 !test_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states)) in i40e_vc_notify_vf_reset()
1044 clear_bit(I40E_VF_STATE_INIT, &vf->vf_states); in i40e_free_vf_res()
1105 clear_bit(I40E_VF_STATE_MC_PROMISC, &vf->vf_states); in i40e_free_vf_res()
1106 clear_bit(I40E_VF_STATE_UC_PROMISC, &vf->vf_states); in i40e_free_vf_res()
1172 set_bit(I40E_VF_STATE_INIT, &vf->vf_states); in i40e_alloc_vf_res()
1458 vf_active = test_and_clear_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states); in i40e_trigger_vf_reset()
1466 clear_bit(I40E_VF_STATE_INIT, &vf->vf_states); in i40e_trigger_vf_reset()
[all …]
H A Di40e_virtchnl_pf.h107 unsigned long vf_states; /* vf's runtime states */ member
H A Di40e_ethtool.c2648 if (test_bit(I40E_VF_STATE_ACTIVE, &vfs[i].vf_states)) in i40e_active_vfs()
H A Di40e_main.c11293 set_bit(I40E_VF_STATE_DISABLED, &vf->vf_states); in i40e_handle_mdd_event()
11302 set_bit(I40E_VF_STATE_DISABLED, &vf->vf_states); in i40e_handle_mdd_event()