diff options
author | Gerhard Engleder <[email protected]> | 2023-01-24 20:14:40 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-01-25 22:41:50 -0800 |
commit | 3d53aaef4332245044b2f3688ac0ea10436c719c (patch) | |
tree | c0b038845b36aea0b95bca55dda8e78f0abce926 /tools/perf/scripts/python/stat-cpi.py | |
parent | 6c4ca03bd890566d873e3593b32d034bf2f5a087 (diff) |
tsnep: Fix TX queue stop/wake for multiple queues
netif_stop_queue() and netif_wake_queue() act on TX queue 0. This is ok
as long as only a single TX queue is supported. But support for multiple
TX queues was introduced with 762031375d5c and I missed to adapt stop
and wake of TX queues.
Use netif_stop_subqueue() and netif_tx_wake_queue() to act on specific
TX queue.
Fixes: 762031375d5c ("tsnep: Support multiple TX/RX queue pairs")
Signed-off-by: Gerhard Engleder <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions