diff options
| author | Lorenzo Bianconi <lorenzo@kernel.org> | 2026-04-16 13:30:12 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-20 21:43:40 +0300 |
| commit | b94769eb2f30e61e86cd8551c084c34134290d89 (patch) | |
| tree | 2ab9cba1b24ba31bfea78f3c0ebd4fcc4e632711 /include/linux | |
| parent | 2091c6aa0df6aba47deb5c8ab232b1cb60af3519 (diff) | |
| download | linux-b94769eb2f30e61e86cd8551c084c34134290d89.tar.xz | |
net: airoha: Fix possible TX queue stall in airoha_qdma_tx_napi_poll()
Since multiple net_device TX queues can share the same hw QDMA TX queue,
there is no guarantee we have inflight packets queued in hw belonging to a
net_device TX queue stopped in the xmit path because hw QDMA TX queue
can be full. In this corner case the net_device TX queue will never be
re-activated. In order to avoid any potential net_device TX queue stall,
we need to wake all the net_device TX queues feeding the same hw QDMA TX
queue in airoha_qdma_tx_napi_poll routine.
Fixes: 23020f0493270 ("net: airoha: Introduce ethernet support for EN7581 SoC")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260416-airoha-txq-potential-stall-v2-1-42c732074540@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
