diff options
author | Gerhard Engleder <gerhard@engleder-embedded.com> | 2023-01-24 20:14:40 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-25 22:41:50 -0800 |
commit | 3d53aaef4332245044b2f3688ac0ea10436c719c (patch) | |
tree | c0b038845b36aea0b95bca55dda8e78f0abce926 /lib/list_debug.c | |
parent | 6c4ca03bd890566d873e3593b32d034bf2f5a087 (diff) | |
download | linux-3d53aaef4332245044b2f3688ac0ea10436c719c.tar.bz2 |
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 <gerhard@engleder-embedded.com>
Link: https://lore.kernel.org/r/20230124191440.56887-1-gerhard@engleder-embedded.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/list_debug.c')
0 files changed, 0 insertions, 0 deletions