aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorMichal Kubiak <[email protected]>2025-05-13 10:55:28 +0000
committerTony Nguyen <[email protected]>2025-05-30 20:54:35 +0000
commit6fa2942578472c9cab13a8fc1dae0d830193e0a1 (patch)
tree8f33e79fdd7e0dea088cbe42c2da28a58eae1d05 /drivers/fpga/tests/fpga-mgr-test.c
parentice: fix Tx scheduler error handling in XDP callback (diff)
downloadkernel-6fa2942578472c9cab13a8fc1dae0d830193e0a1.tar.gz
kernel-6fa2942578472c9cab13a8fc1dae0d830193e0a1.zip
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]> Reviewed-by: Simon Horman <[email protected]> Tested-by: Jesse Brandeburg <[email protected]> Tested-by: Saritha Sanigani <[email protected]> (A Contingent Worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions