src/dpdk/drivers/net/ice/base/ice_sched.c
void ice_sched_replay_agg_vsi_preinit(struct ice_hw *hw)
{
	struct ice_port_info *pi = hw->port_info;
	struct ice_sched_agg_info *agg_info;

	ice_acquire_lock(&pi->sched_lock);
	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_info->tc_bitmap[0] = 0;
		LIST_FOR_EACH_ENTRY(agg_vsi_info, &agg_info->agg_vsi_list,
				    ice_sched_agg_vsi_info, list_entry)
			agg_vsi_info->tc_bitmap[0] = 0;
	}
	ice_release_lock(&pi->sched_lock);
}
/**
 * ice_sched_replay_agg_vsi_preinit - Agg/VSI replay pre initialization
 * @hw: pointer to the HW struct
 *
 * This function initialize aggregator(s) TC bitmap to zero. A required
 * preinit step for replaying aggregators.
 */
Agg/VSI replay pre initialization
@hw: pointer to the HW struct

This function initialize aggregator(s) TC bitmap to zero. A required
preinit step for replaying aggregators.
Agg / VSI replay pre initialization @hw : pointer to the HW struct This function initialize aggregator ( s ) TC bitmap to zero . A required preinit step for replaying aggregators .
void ice_sched_replay_agg_vsi_preinit(struct ice_hw *hw)
{
	struct ice_port_info *pi = hw->port_info;
	struct ice_sched_agg_info *agg_info;
	ice_acquire_lock(&pi->sched_lock);
	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_info->tc_bitmap[0] = 0;
		LIST_FOR_EACH_ENTRY(agg_vsi_info, &agg_info->agg_vsi_list,
				    ice_sched_agg_vsi_info, list_entry)
			agg_vsi_info->tc_bitmap[0] = 0;
	}
	ice_release_lock(&pi->sched_lock);
}
void ice_sched_replay_agg_vsi_preinit ( struct ice_hw * hw ) { struct ice_port_info * pi = hw -> port_info ; struct ice_sched_agg_info * agg_info ; ice_acquire_lock ( & pi -> sched_lock ) ; 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_info -> tc_bitmap [ 0 ] = 0 ; LIST_FOR_EACH_ENTRY ( agg_vsi_info , & agg_info -> agg_vsi_list , ice_sched_agg_vsi_info , list_entry ) agg_vsi_info -> tc_bitmap [ 0 ] = 0 ; } ice_release_lock ( & pi -> sched_lock ) ; }
ice_sched_replay_agg_vsi_preinit - Agg/VSI replay pre initialization
 @hw: pointer to the HW struct
ice_sched_replay_agg_vsi_preinit - Agg / VSI replay pre initialization @hw : pointer to the HW struct