> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Michal Kubiak
> Sent: Tuesday, May 13, 2025 4:25 PM
> To: [email protected]
> Cc: Fijalkowski, Maciej <[email protected]>; Lobakin, Aleksander
> <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>; [email protected]; Keller,
> Jacob E <[email protected]>; Brandeburg, Jesse
> <[email protected]>; [email protected]; Kubiak, Michal
> <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-net v3 2/3] ice: create new Tx scheduler
> nodes for new queues only
> 
> The current implementation of the Tx scheduler tree attempts to create nodes
> for all Tx queues, ignoring the fact that some queues may already exist in the
> tree. For example, if the VSI already has 128 Tx queues and the user requests
> for 16 new queues, the Tx scheduler will compute the tree for 272 queues
> (128 existing queues + 144 new queues), instead of 144 queues (128 existing
> queues and 16 new queues).
> Fix that by modifying the node count calculation algorithm to skip the queues
> that already exist in the tree.
> 
> Fixes: 5513b920a4f7 ("ice: Update Tx scheduler tree for VSI multi-Tx queue
> support")
> Reviewed-by: Dawid Osuchowski <[email protected]>
> Reviewed-by: Przemek Kitszel <[email protected]>
> Reviewed-by: Jacob Keller <[email protected]>
> Signed-off-by: Michal Kubiak <[email protected]>
> ---
>  drivers/net/ethernet/intel/ice/ice_sched.c | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)
> 

Tested-by: Saritha Sanigani <[email protected]> (A Contingent Worker 
at Intel)

Reply via email to