src/dpdk/drivers/net/ice/base/ice_sched.c
static struct ice_sched_agg_vsi_info *
ice_get_agg_vsi_info(struct ice_sched_agg_info *agg_info, u16 vsi_handle)
{
	struct ice_sched_agg_vsi_info *agg_vsi_info;

	LIST_FOR_EACH_ENTRY(agg_vsi_info, &agg_info->agg_vsi_list,
			    ice_sched_agg_vsi_info, list_entry)
		if (agg_vsi_info->vsi_handle == vsi_handle)
			return agg_vsi_info;

	return NULL;
}
/**
 * ice_get_agg_vsi_info - get the aggregator ID
 * @agg_info: aggregator info
 * @vsi_handle: software VSI handle
 *
 * The function returns aggregator VSI info based on VSI handle. This function
 * needs to be called with scheduler lock held.
 */
get the aggregator ID
@agg_info: aggregator info
@vsi_handle: software VSI handle

The function returns aggregator VSI info based on VSI handle. This function
needs to be called with scheduler lock held.
get the aggregator ID @agg_info : aggregator info @vsi_handle : software VSI handle The function returns aggregator VSI info based on VSI handle . This function needs to be called with scheduler lock held .
static struct ice_sched_agg_vsi_info *
ice_get_agg_vsi_info(struct ice_sched_agg_info *agg_info, u16 vsi_handle)
{
	struct ice_sched_agg_vsi_info *agg_vsi_info;
	LIST_FOR_EACH_ENTRY(agg_vsi_info, &agg_info->agg_vsi_list,
			    ice_sched_agg_vsi_info, list_entry)
		if (agg_vsi_info->vsi_handle == vsi_handle)
			return agg_vsi_info;
	return NULL;
}
static struct ice_sched_agg_vsi_info * ice_get_agg_vsi_info ( struct ice_sched_agg_info * agg_info , u16 vsi_handle ) { struct ice_sched_agg_vsi_info * agg_vsi_info ; LIST_FOR_EACH_ENTRY ( agg_vsi_info , & agg_info -> agg_vsi_list , ice_sched_agg_vsi_info , list_entry ) if ( agg_vsi_info -> vsi_handle == vsi_handle ) return agg_vsi_info ; return NULL ; }
ice_get_agg_vsi_info - get the aggregator ID
 @agg_info: aggregator info
 @vsi_handle: software VSI handle
ice_get_agg_vsi_info - get the aggregator ID @agg_info : aggregator info @vsi_handle : software VSI handle