Re: [PATCH net v2] r8169: recheck the TX descriptor after a vector-map interrupt
From: Vlad Banea
Date: Sun Nov 29 2026 - 08:58:36 EST
The issue was hit during development: while enabling RSS on the
RTL8125B with the vector-map interrupt model, bursty TCP traffic
triggered NETDEV WATCHDOG TX timeouts. Debugging showed rtl_tx()
stopping at a descriptor that still looked owned right after the TX
interrupt.
Tested on two RTL8125B (XID 641, firmware rtl8125b-2_0.0.2 07/13/20)
connected back to back, in an x86_64 KVM guest with VFIO passthrough.
Upstream uses the vector-map interrupt model only on the RTL8127A, which
I don't have, so the test kernel also had the RTL8125B RSS series from
the RFC to enable it on these chips. Without the fix, a burst test hit
19 TX timeouts in 31 bursts; with this version (ISR_VEC_MAP_REG read),
none, and sustained traffic ran at 2.36 Gbit/s with no retransmits.
Javen Xu confirmed that the RTL8127A is affected as well.
Vlad