summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2026-04-21 09:43:07 +0300
committerJakub Kicinski <kuba@kernel.org>2026-04-28 03:34:03 +0300
commit3854de7b38be742cf7558476956d12414cb274f2 (patch)
tree583dabc1715bc043d046437a59bfbbff19ea1461 /include/linux/timerqueue.h
parent2d9f5a118205da2683ffcec78b9347f1f01a820e (diff)
downloadlinux-3854de7b38be742cf7558476956d12414cb274f2.tar.xz
net: airoha: stop net_device TX queue before updating CPU index
Currently, airoha_eth driver updates the CPU index register prior of verifying whether the number of free descriptors has fallen below the threshold. Move net_device TX queue length check before updating the TX CPU index in order to update TX CPU index even if there are more packets to be transmitted but the net_device TX queue is going to be stopped accounting the inflight packets. Fixes: 1d304174106c ("net: airoha: Implement BQL support") Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://patch.msgid.link/20260421-airoha-xmit-stop-condition-v1-1-e670d6a48467@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions