summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorLinus Walleij <linusw@kernel.org>2026-09-03 23:45:33 +0200
committerPaolo Abeni <pabeni@redhat.com>2026-09-08 12:35:22 +0200
commite89e88ad41d9f31c829c2af39c48313e8e48d5b0 (patch)
tree234aa7e35c46d9ba82fddd387bc052a7f42b48fe /scripts/basic/split-include.c
parent6520198c430c81bcc367f0dd5e32f2fb740b9d51 (diff)
downloadlinux-e89e88ad41d9f31c829c2af39c48313e8e48d5b0.tar.gz
linux-e89e88ad41d9f31c829c2af39c48313e8e48d5b0.zip
net: ethernet: cortina: Count RX descriptors for freeq refill
The software free queue provides one buffer fragment for every descriptor moved to an RX queue. The refill heuristic instead advances by NAPI work, which counts frames. A fragmented or discarded frame can consume several queue entries while adding only one to the refill count. Count the RX descriptors as they are consumed and report that separately from NAPI work. Use the descriptor count to drive free queue refills. Fixes: 4d5ae32f5e1e ("net: ethernet: Add a driver for Gemini gigabit ethernet") Assisted-by: LLM Reviewed-by: Joe Damato <joe@dama.to> Signed-off-by: Linus Walleij <linusw@kernel.org> Link: https://patch.msgid.link/20260903-gemini-ethernet-fixes-v2-5-2bbbd598ca6e@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions