src/dpdk/drivers/net/ice/base/ice_sched.c
static void ice_sched_rm_agg_vsi_info(struct ice_port_info *pi, u16 vsi_handle)
{
	struct ice_sched_agg_info *agg_info;
	struct ice_sched_agg_info *atmp;

	LIST_FOR_EACH_ENTRY_SAFE(agg_info, atmp, &pi->hw->agg_list,
				 ice_sched_agg_info,
				 list_entry) {
		struct ice_sched_agg_vsi_info *agg_vsi_info;
		struct ice_sched_agg_vsi_info *vtmp;

		LIST_FOR_EACH_ENTRY_SAFE(agg_vsi_info, vtmp,
					 &agg_info->agg_vsi_list,
					 ice_sched_agg_vsi_info, list_entry)
			if (agg_vsi_info->vsi_handle == vsi_handle) {
				LIST_DEL(&agg_vsi_info->list_entry);
				ice_free(pi->hw, agg_vsi_info);
				return;
			}
	}
}
/**
 * ice_sched_rm_agg_vsi_entry - remove aggregator related VSI info entry
 * @pi: port information structure
 * @vsi_handle: software VSI handle
 *
 * This function removes single aggregator VSI info entry from
 * aggregator list.
 */
remove aggregator related VSI info entry
@pi: port information structure
@vsi_handle: software VSI handle

This function removes single aggregator VSI info entry from
aggregator list.
remove aggregator related VSI info entry @pi : port information structure @vsi_handle : software VSI handle This function removes single aggregator VSI info entry from aggregator list .
static void ice_sched_rm_agg_vsi_info(struct ice_port_info *pi, u16 vsi_handle)
{
	struct ice_sched_agg_info *agg_info;
	struct ice_sched_agg_info *atmp;
	LIST_FOR_EACH_ENTRY_SAFE(agg_info, atmp, &pi->hw->agg_list,
				 ice_sched_agg_info,
				 list_entry) {
		struct ice_sched_agg_vsi_info *agg_vsi_info;
		struct ice_sched_agg_vsi_info *vtmp;
		LIST_FOR_EACH_ENTRY_SAFE(agg_vsi_info, vtmp,
					 &agg_info->agg_vsi_list,
					 ice_sched_agg_vsi_info, list_entry)
			if (agg_vsi_info->vsi_handle == vsi_handle) {
				LIST_DEL(&agg_vsi_info->list_entry);
				ice_free(pi->hw, agg_vsi_info);
				return;
			}
	}
}
static void ice_sched_rm_agg_vsi_info ( struct ice_port_info * pi , u16 vsi_handle ) { struct ice_sched_agg_info * agg_info ; struct ice_sched_agg_info * atmp ; LIST_FOR_EACH_ENTRY_SAFE ( agg_info , atmp , & pi -> hw -> agg_list , ice_sched_agg_info , list_entry ) { struct ice_sched_agg_vsi_info * agg_vsi_info ; struct ice_sched_agg_vsi_info * vtmp ; LIST_FOR_EACH_ENTRY_SAFE ( agg_vsi_info , vtmp , & agg_info -> agg_vsi_list , ice_sched_agg_vsi_info , list_entry ) if ( agg_vsi_info -> vsi_handle == vsi_handle ) { LIST_DEL ( & agg_vsi_info -> list_entry ) ; ice_free ( pi -> hw , agg_vsi_info ) ; return ; } } }
ice_sched_rm_agg_vsi_entry - remove aggregator related VSI info entry
 @pi: port information structure
 @vsi_handle: software VSI handle
ice_sched_rm_agg_vsi_entry - remove aggregator related VSI info entry @pi : port information structure @vsi_handle : software VSI handle