src/dpdk/drivers/net/ice/base/ice_sched.c
static struct ice_sched_agg_info *
ice_get_vsi_agg_info(struct ice_hw *hw, u16 vsi_handle)
{
	struct ice_sched_agg_info *agg_info;

	LIST_FOR_EACH_ENTRY(agg_info, &hw->agg_list, ice_sched_agg_info,
			    list_entry) {
		struct ice_sched_agg_vsi_info *agg_vsi_info;

		agg_vsi_info = ice_get_agg_vsi_info(agg_info, vsi_handle);
		if (agg_vsi_info)
			return agg_info;
	}
	return NULL;
}
/**
 * ice_get_vsi_agg_info - get the aggregator info of VSI
 * @hw: pointer to the hardware structure
 * @vsi_handle: Sw VSI handle
 *
 * The function returns aggregator info of VSI represented via vsi_handle. The
 * VSI has in this case a different aggregator than the default one. This
 * function needs to be called with scheduler lock held.
 */
get the aggregator info of VSI
@hw: pointer to the hardware structure
@vsi_handle: Sw VSI handle

The function returns aggregator info of VSI represented via vsi_handle. The
VSI has in this case a different aggregator than the default one. This
function needs to be called with scheduler lock held.
get the aggregator info of VSI @hw : pointer to the hardware structure @vsi_handle : Sw VSI handle The function returns aggregator info of VSI represented via vsi_handle . The VSI has in this case a different aggregator than the default one . This function needs to be called with scheduler lock held .
static struct ice_sched_agg_info *
ice_get_vsi_agg_info(struct ice_hw *hw, u16 vsi_handle)
{
	struct ice_sched_agg_info *agg_info;
	LIST_FOR_EACH_ENTRY(agg_info, &hw->agg_list, ice_sched_agg_info,
			    list_entry) {
		struct ice_sched_agg_vsi_info *agg_vsi_info;
		agg_vsi_info = ice_get_agg_vsi_info(agg_info, vsi_handle);
		if (agg_vsi_info)
			return agg_info;
	}
	return NULL;
}
static struct ice_sched_agg_info * ice_get_vsi_agg_info ( struct ice_hw * hw , u16 vsi_handle ) { struct ice_sched_agg_info * agg_info ; LIST_FOR_EACH_ENTRY ( agg_info , & hw -> agg_list , ice_sched_agg_info , list_entry ) { struct ice_sched_agg_vsi_info * agg_vsi_info ; agg_vsi_info = ice_get_agg_vsi_info ( agg_info , vsi_handle ) ; if ( agg_vsi_info ) return agg_info ; } return NULL ; }
ice_get_vsi_agg_info - get the aggregator info of VSI
 @hw: pointer to the hardware structure
 @vsi_handle: Sw VSI handle
ice_get_vsi_agg_info - get the aggregator info of VSI @hw : pointer to the hardware structure @vsi_handle : Sw VSI handle