src/dpdk/drivers/net/ice/base/ice_sched.c
static struct ice_sched_agg_info *
ice_get_agg_info(struct ice_hw *hw, u32 agg_id)
{
	struct ice_sched_agg_info *agg_info;

	LIST_FOR_EACH_ENTRY(agg_info, &hw->agg_list, ice_sched_agg_info,
			    list_entry)
		if (agg_info->agg_id == agg_id)
			return agg_info;

	return NULL;
}
/**
 * ice_get_agg_info - get the aggregator ID
 * @hw: pointer to the hardware structure
 * @agg_id: aggregator ID
 *
 * This function validates aggregator ID. The function returns info if
 * aggregator ID is present in list otherwise it returns null.
 */
get the aggregator ID
@hw: pointer to the hardware structure
@agg_id: aggregator ID

This function validates aggregator ID. The function returns info if
aggregator ID is present in list otherwise it returns null.
get the aggregator ID @hw : pointer to the hardware structure @agg_id : aggregator ID This function validates aggregator ID . The function returns info if aggregator ID is present in list otherwise it returns null .
static struct ice_sched_agg_info *
ice_get_agg_info(struct ice_hw *hw, u32 agg_id)
{
	struct ice_sched_agg_info *agg_info;
	LIST_FOR_EACH_ENTRY(agg_info, &hw->agg_list, ice_sched_agg_info,
			    list_entry)
		if (agg_info->agg_id == agg_id)
			return agg_info;
	return NULL;
}
static struct ice_sched_agg_info * ice_get_agg_info ( struct ice_hw * hw , u32 agg_id ) { struct ice_sched_agg_info * agg_info ; LIST_FOR_EACH_ENTRY ( agg_info , & hw -> agg_list , ice_sched_agg_info , list_entry ) if ( agg_info -> agg_id == agg_id ) return agg_info ; return NULL ; }
ice_get_agg_info - get the aggregator ID
 @hw: pointer to the hardware structure
 @agg_id: aggregator ID
ice_get_agg_info - get the aggregator ID @hw : pointer to the hardware structure @agg_id : aggregator ID