Networking

Docker overlay network experiences severe packet loss and retransmits after NIC firmware update — large VXLAN packets fragmented by offload regression

Environment

Environment

Two-host Docker Swarm using overlay network over a bonded pair of Intel/ Broadcom NICs, hosts running Ubuntu 22.04 with kernel 5.15, MTU set to 9000 for underlying switches. Problem started immediately after vendor firmware and driver update on both hosts.

Symptoms

Symptoms

Large TCP transfers between containers on different hosts exhibit high retransmits, throughput collapses and timeouts. Small HTTP requests and pings perform normally. Application-level logs show repeated TCP retransmits and occasional connection resets. Overall CPU/memory on hosts normal; only network performance degraded for large payloads.

Observations

Observations

Host-level tcpdump on physical interfaces shows large UDP VXLAN packets being transmitted, but many are fragmented or dropped. ethtool -k shows GRO/GSO/TSO enabled; disabling GRO/GSO at host reduced but did not eliminate retransmits. Switching overlay network MTU to 1500 on both hosts decreased failures but transfer rates were still worse than pre-update. NIC firmware version and driver changed as part of recent maintenance. No physical link flaps reported on switch logs; switch MTU configured to 9000.

Already attempted

Already attempted

Rolled back Docker overlay MTU to 1500, disabled TSO/GRO on hosts and containers, restarted docker daemon — partial reduction in packet loss but throughput still below baseline. Rebounded interfaces and re-created overlay network (docker network rm && docker network create) on test pair — minor improvements. Rebooted hosts individually (non-disruptive in test cluster) — temporary relief on one host only. Collected tcpdumps of VXLAN/UDP and dmesg entries related to NIC errors.

Question

Question

Are these symptoms most consistent with a NIC firmware/driver regression that mishandles GSO/GRO for VXLAN traffic, or could switch MTU or Docker overlay configuration be the root cause? What reversible diagnostics and mitigations should I try to confirm and reduce impact while preparing an escalation to NIC vendor?

COMMUNITY RESPONSES

Verified community troubleshooting

0 replies

No answers yet..

Showing 0 of 0 community responses
AI DIAGNOSTICS

Incident analysis

Updated 1mo ago• Trouble ID

Most likely causes

NIC firmware/driver regression after vendor update that incorrectly handles GSO/GRO for tunneled VXLAN/Geneve packets, causing oversized or malformed frames to be dropped 85%
Switch MTU or jumbo frame path misconfiguration causing fragmentation or dropped large frames under high load (contributing factor) 45%
Docker overlay network MTU misconfiguration combined with bonded interface settings causing inconsistent fragmentation behavior across hosts 35%

Summary

The timing (immediately after NIC firmware/driver update) combined with the pattern (large flows over VXLAN fail while small packets succeed) strongly suggests an offload/firmware regression where the NIC or its driver mishandles GSO/GRO/GSO for tunneled (VXLAN) packets. Disabling host offloads improves but does not fully fix, indicating host driver/firmware is a prime suspect. Switch MTU mismatch is less likely since switch logs show jumbo enabled and migration didn't remove the issue, but MTU remains a contributing factor. Docker overlay config adjustments reduced impact but did not restore baseline, consistent with a lower-level offload problem.

Suggested Fixes

Diagnostic step 1
Capture packet traces at multiple points: physical interface on host A, vxlan0 (or docker_gwbridge) on host A, and the container interface; repeat on host B for the same flow. Compare packet sizes and fragmentation to pinpoint where packets are lost or malformed. Sanitize any payloads before sharing externally.
Diagnostic step 2
Temporarily disable hardware offloads on both hosts (ethtool -K <iface> tso off gso off gro off) and re-run throughput tests. This is reversible and often isolates offload-related bugs. If disabling offloads restores throughput, prioritize NIC firmware/driver rollback or vendor escalation.
Diagnostic step 3
As a reversible mitigation, lower overlay MTU to 1500 cluster-wide and verify if observed stability is acceptable; document performance delta. This avoids jumbo-frame fragmentation on the overlay path but reduces maximum throughput.

Continue troubleshooting

Matched from the title, description and tags