diff options
| author | Lorenzo Bianconi <lorenzo@kernel.org> | 2025-10-12 11:19:44 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-10-14 12:33:46 +0200 |
| commit | bd5afca115f181c85f992d42a57cd497bc823ccb (patch) | |
| tree | fdff1ea23861c0deeff6637b36dbd514201121cc /scripts/lib/kdoc/kdoc_parser.py | |
| parent | 295ce1eb36ae47dc862d6c8a1012618a25516208 (diff) | |
net: airoha: Take into account out-of-order tx completions in airoha_dev_xmit()
Completion napi can free out-of-order tx descriptors if hw QoS is
enabled and packets with different priority are queued to same DMA ring.
Take into account possible out-of-order reports checking if the tx queue
is full using circular buffer head/tail pointer instead of the number of
queued packets.
Fixes: 23020f0493270 ("net: airoha: Introduce ethernet support for EN7581 SoC")
Suggested-by: Simon Horman <horms@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20251012-airoha-tx-busy-queue-v2-1-a600b08bab2d@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
