Linux

Linux kernel logs NETDEV WATCHDOG and igb driver drops packets after enabling GRO on high-throughput gateway

Environment

Environment

Edge gateway running Debian 12 with Intel NICs using igb driver; kernel 6.1.x. System forwards 10Gbps of small-packet traffic, GRO (generic receive offload) enabled globally via ethtool and sysctl net.core.netdev_max_backlog increased.

Symptoms

Symptoms

Under sustained load NICs report NETDEV WATCHDOG timeouts and RX stops, kernel logs show igb reset messages, and long-lived TCP uploads stall while short flows remain OK. Interface remains UP but no packets received until soft reset.

Observations

Observations

dmesg shows 'NETDEV WATCHDOG: igb' followed by 'ixgbe_reset_task' and 'RX LOCKUP, schedule igb reset'. ethtool -S shows rising rx_missed_errors and rx_over_errors. Disabling GRO/SG on affected interface restores traffic quickly without reboot.

Already attempted

Already attempted

Tried toggling GRO and GSO via ethtool; disabling GRO on the affected interface resolves stalls. Updated to latest vendor driver package but issue reproduced. Reduced netdev_max_backlog had no effect.

Question

Question

Why does enabling GRO trigger igb RX watchdogs and packet drops under high small-packet load, and what safe kernel/driver settings restore stable forwarding without losing offload benefits?

COMMUNITY RESPONSES

Verified community troubleshooting

1 reply
0
frejafixar Answer
user
Posted 4w ago • 0 confirmations

GRO can delay packet processing so long that some igb driver versions hit the RX watchdog. The immediate safe fix is to disable GRO on that interface (ethtool -K ethX gro off) and retest; this restored forwarding in the observation. For a long-term fix, try updated vendor driver/firmware or tune IRQ/NAPI affinity to spread load across cores. If you need offloads, test GSO/TX offload independently and open a vendor bug with dmesg and ethtool stats if driver updates don't help.

Showing 1 of 1 community responses
AI DIAGNOSTICS

Incident analysis

Updated 4w ago• Trouble ID

Most likely causes

Driver interaction bug between igb driver and GRO/NAPI leading to delayed RX completion and watchdog timeout 80%
Excessive GRO aggregation increases per-packet processing latency, exceeding driver's watchdog timer on bursts 60%
Firmware/thermal-induced NIC interrupts starvation causing driver to report RX lockup under heavy load 30%

Summary

GRO aggregates incoming packets in software to reduce per-packet overhead. On heavily loaded interfaces with certain driver/firmware combos, GRO can delay packet processing long enough for the driver watchdog to consider RX stalled, especially if NAPI budget or skb processing is overwhelmed. The igb driver may not integrate well with aggressive GRO under sustained small-packet loads, triggering RX lockups. Vendor driver/kernel bug, NAPI budget tuning, or hardware/firmware flow steering interactions are likely contributors.

Suggested Fixes

Diagnostic step 1
Keep GRO disabled on affected interfaces as immediate mitigation: ethtool -K ethX gro off; confirm stability under load.
Diagnostic step 2
Capture perf and skb stats during load (ethtool -S, sar, perf top) to correlate CPU scheduling/NAPI saturation.
Diagnostic step 3
Test adjusting NAPI and IRQ affinity to spread processing across cores (irqbalance or manual smp_affinity changes).

Continue troubleshooting

Matched from the title, description and tags