r8169: Fix GRO-related issue with not disabled device interrupts
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: add napi_schedule_prep variant with more granular return valueinclude/ net/ | +12 | 2 replies | |
| 2/2 | r8169: disable interrupts also for GRO-scheduled NAPIdrivers/ | +4 | 14 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Alexander Lobakin |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net 0/2] r8169: Fix GRO-related issue with not disabled device interrupts
Ken reported that RTL8125b can lock up if gro_flush_timeout has the default value of 20000 and napi_defer_hard_irqs is set to 0. In this scenario device interrupts aren't disabled, what seems to trigger some silicon bug under heavy load. I was able to reproduce this behavior on RTL8168h.
Disabling device interrupts if NAPI is scheduled from a place other than the driver's interrupt handler is a necessity in r8169, for other drivers it may still be a performance optimization. Therefore add a variant of napi_schedule_prep() with a more granular return value.
Patch was verified to fix the issue for RTL8168h.
Heiner Kallweit (2):
net: add napi_schedule_prep variant with more granular return value
r8169: disable interrupts also for GRO-scheduled NAPI
drivers/net/ethernet/realtek/r8169_main.c | 6 ++++-- include/linux/netdevice.h | 7 ++++++- net/core/dev.c | 12 ++++++------ 3 files changed, 16 insertions(+), 9 deletions(-)
Signature · 1 line
2.45.0