Re: [PATCH net v3] r8169: clear RxOverflow before unmasking interrupts

From: patchwork-bot+netdevbpf

Date: Thu Dec 03 2026 - 07:15:15 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Thu, 26 Nov 2026 09:37:55 +0100 you wrote:
> When the RTL8125B runs out of RX descriptors it sets RxOverflow
> (RxDescUnavail in the vendor driver) and stops receiving until
> RxOverflow is cleared in IntrStatus, even after the driver has returned
> the descriptors. Since commit 6994520a3328 ("r8169: disable interrupt
> source RxOverflow") nothing may clear it:
>
> 1. The ring fills. The chip completes the last frames (RxOK), then
> sets RxOverflow and stops receiving.
> 2. rtl8169_interrupt() read IntrStatus before RxOverflow was set, so it
> clears only RxOK.
> 3. NAPI empties the ring and unmasks the interrupts.
> 4. The stopped receiver raises no new RxOK, and RxOverflow is not an
> interrupt source, so reception stays stopped until another event,
> such as TxOK, makes the handler clear all status bits.
>
> [...]

Here is the summary with links:
- [net,v3] r8169: clear RxOverflow before unmasking interrupts
https://git.kernel.org/netdev/net/c/9d71a9bfd9cb

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html