aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorVictor Raj <[email protected]>2020-07-13 13:53:12 -0700
committerTony Nguyen <[email protected]>2020-07-29 08:38:55 -0700
commit4043818c13ef5e610e6555b02d69dfd8d0a6b32d (patch)
treea50b665b010e3680b4b284f7a004405c0b61c7d6 /drivers/net/ethernet/intel/ice/ice_main.c
parent984824a210d4b21868d2f96219637587bdb37719 (diff)
ice: distribute Tx queues evenly
Distribute the Tx queues evenly across all queue groups. This will help the queues to get more equal sharing among the queues when all are in use. In the previous algorithm, the next queue group node will be picked up only after the previous one filled with max children. For example: if VSI is configured with 9 queues, the first 8 queues will be assigned to queue group 1 and the 9th queue will be assigned to queue group 2. The 2 queue groups split the bandwidth between them equally (50:50). The first queue group node will share the 50% bandwidth with all of its children (8 queues). And the second queue group node will share the entire 50% bandwidth with its only children. The new algorithm will fix this issue. Signed-off-by: Victor Raj <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions