Re: [PATCH net v2] r8169: clear RxOverflow before unmasking interrupts
From: Jure Rebernik
Date: Wed Nov 25 2026 - 22:02:11 EST
On Wed, 25 Nov 2026 07:53:27 +0000, Sashiko wrote:
> [Severity: High]
>
> Should the RxOverflow ack depend on napi_complete_done() returning true?
[...]
> Could the ack be tied to work_done < budget and moved out of the
> napi_complete_done() condition?
Yes. I reproduced it on RTL8125B with threaded busy polling on eth0 and
the NAPI thread starved by a SCHED_FIFO task for 20 ms of every 200 ms.
With v2 no frame was received for the whole 40 s in 6 of 6 runs on
three boards, with IntrMask 0 and RxOverflow set, until busy polling
was turned off. With the clear tied to work_done < budget, about 65700
frames/s were received in 6 of 6 runs. v3 does that.
> [Severity: Low]
>
> Is this statement accurate? In this tree, parts of rtl8169_poll() come
> from the multi-queue rework:
Agreed. v3 says what changed since v7.2, where the patch was tested,
and that the changed lines behave the same on single-vector chips.
> [Severity: Low]
>
> This isn't a bug, but the comment presents this as general chip behavior.
Agreed. In v3 the comment says "At least the RTL8125B", and the
changelog says that the clear runs on all single-vector chips but was
tested only on RTL8125B.
Jure
pw-bot: cr