> -----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 1/6] ice: convert hw->agg_list 
> from linked list to xarray
>
> The scheduler code saves information about the aggregator nodes in a linked 
> list in the hw->agg_list structure. This choice of data structure is not 
> ideal. Indeed, several places in the code iterate the list searching to see 
> if a given ID is present.
>
> Convert the linked list into an xarray. Where possible, simplify aggregator 
> info lookup to use xa_load instead of iterating over all the entries.
> 
> Switching to xarray data structure better matches the existing usage pattern. 
> In addition, it prepares the code to allow removal of the ice_agg_node 
> wrapping structure used by ice_vsi, which will be completed in following 
> changes.
>
> 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_type.h   |  2 +-
> drivers/net/ethernet/intel/ice/ice_common.c |  4 +-  
> drivers/net/ethernet/intel/ice/ice_sched.c  | 58 ++++++++++++-----------------
> 4 files changed, 27 insertions(+), 38 deletions(-)
>

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

Reply via email to