src/dpdk/drivers/net/ice/base/ice_sched.c
static enum ice_status
ice_save_agg_tc_bitmap(struct ice_port_info *pi, u32 agg_id,
		       ice_bitmap_t *tc_bitmap)
{
	struct ice_sched_agg_info *agg_info;

	agg_info = ice_get_agg_info(pi->hw, agg_id);
	if (!agg_info)
		return ICE_ERR_PARAM;
	ice_cp_bitmap(agg_info->replay_tc_bitmap, tc_bitmap,
		      ICE_MAX_TRAFFIC_CLASS);
	return ICE_SUCCESS;
}
/**
 * ice_save_agg_tc_bitmap - save aggregator TC bitmap
 * @pi: port information structure
 * @agg_id: aggregator ID
 * @tc_bitmap: 8 bits TC bitmap
 *
 * Save aggregator TC bitmap. This function needs to be called with scheduler
 * lock held.
 */
save aggregator TC bitmap
@pi: port information structure
@agg_id: aggregator ID
@tc_bitmap: 8 bits TC bitmap

Save aggregator TC bitmap. This function needs to be called with scheduler
lock held.
save aggregator TC bitmap @pi : port information structure @agg_id : aggregator ID @tc_bitmap : 8 bits TC bitmap Save aggregator TC bitmap . This function needs to be called with scheduler lock held .
static enum ice_status
ice_save_agg_tc_bitmap(struct ice_port_info *pi, u32 agg_id,
		       ice_bitmap_t *tc_bitmap)
{
	struct ice_sched_agg_info *agg_info;
	agg_info = ice_get_agg_info(pi->hw, agg_id);
	if (!agg_info)
		return ICE_ERR_PARAM;
	ice_cp_bitmap(agg_info->replay_tc_bitmap, tc_bitmap,
		      ICE_MAX_TRAFFIC_CLASS);
	return ICE_SUCCESS;
}
static enum ice_status ice_save_agg_tc_bitmap ( struct ice_port_info * pi , u32 agg_id , ice_bitmap_t * tc_bitmap ) { struct ice_sched_agg_info * agg_info ; agg_info = ice_get_agg_info ( pi -> hw , agg_id ) ; if ( ! agg_info ) return ICE_ERR_PARAM ; ice_cp_bitmap ( agg_info -> replay_tc_bitmap , tc_bitmap , ICE_MAX_TRAFFIC_CLASS ) ; return ICE_SUCCESS ; }
ice_save_agg_tc_bitmap - save aggregator TC bitmap
 @pi: port information structure
 @agg_id: aggregator ID
 @tc_bitmap: 8 bits TC bitmap
ice_save_agg_tc_bitmap - save aggregator TC bitmap @pi : port information structure @agg_id : aggregator ID @tc_bitmap : 8 bits TC bitmap