> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of Jacob 
> Keller
> Sent: 02 June 2026 05:44
> To: Intel Wired LAN <[email protected]>; 
> [email protected]; Nguyen, Anthony L <[email protected]>
> Cc: Kitszel, Przemyslaw <[email protected]>; Loktionov, Aleksandr 
> <[email protected]>; Keller, Jacob E <[email protected]>; 
> Loktionov, Aleksandr <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-next 2/6] ice: count number of VSIS in 
> agg_vsi_list
>
> The ice_sched_agg_info structure maintains a list of VSIs associated with the 
> aggregator node. A following change is going to refactor logic from 
> ice_lib.c, and remove the ice_agg_node wrapper structure. Doing so will 
> require keeping track of how many VSIs are on a given aggregator node.
>
> To simplify this tracking, add a member to the ice_sched_agg_info structure 
> which counts the number of VSIs using the node. Increment it when adding a 
> VSI to the list, and decrement when removing the VSI from the list. This will 
> avoid the need to iterate the agg_vsi_list to determine this information.
>
> Signed-off-by: Jacob Keller <[email protected]>
> Reviewed-by: Aleksandr Loktionov <[email protected]>
> ---
> drivers/net/ethernet/intel/ice/ice_sched.h | 1 +  
> drivers/net/ethernet/intel/ice/ice_sched.c | 7 +++++++
> 2 files changed, 8 insertions(+)
>

Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)

Reply via email to