KVM guests lose incoming packets under sustained throughput when SR‑IOV VFs are bound with VFIO — guests keep interface up but RX halts
Environment
KVM/QEMU host on Ubuntu 22.04 with kernel 5.15, Intel NIC that supports SR‑IOV. SR‑IOV enabled and VFs bound to guest VMs via vfio-pci. Guests run Debian 11 and see VF as a virtio-like passthrough device. Issue observed after enabling SR‑IOV and VFIO following a host driver/firmware update.
Symptoms
Guest VMs can establish connections and transmit (TX) but under sustained high incoming throughput (large downloads or many concurrent connections) the guest's RX stops — counters for RX stop increasing while TX still works. Interface stays administratively up inside the guest; restarting the guest NIC or re-binding VF temporarily restores traffic.
Observations
Host dmesg shows vfio and igb/ixgbe driver messages indicating VF reset or 'link state changed' around the time of stalls. ethtool -S on host VF shows ring overruns and queue drops during the incident. Disabling offloads on guest (ethtool -K) reduces the frequency of stalls. Migrating the affected VM to a host without the recent driver/firmware change eliminates the problem for the same workload.
Already attempted
Updated kernel and NIC driver to latest packaged versions; re-applied VFIO binding and ensured iommu enabled; disabled various guest offloads (TSO/GSO); allocated additional host CPU to the VM; moved VF to a different PCIe slot temporarily. None produced a durable fix; disabling SR‑IOV on host removes the issue.
Question
What are the most likely root causes for RX stopping in VFIO-bound SR‑IOV VFs under sustained I/O, and what reversible diagnostic and mitigation steps should I run before involving NIC vendor support?
Verified community troubleshooting
No answers yet..
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags
- Virtualization47% match
KVM guests drop incoming packets under sustained throughput when SR‑IOV VFs are bound with VFIO
Open1 answer - Virtualization33% match
KVM guests lose all network after host NIC firmware update under sustained I/O — MTU resets and guests show 1500-only traffic
Open0 answers - Virtualization30% match
QEMU/KVM guests log 'unexpected NMI' and suffer network stalls after host resume with nested KVM enabled
Open1 answer - Hardware27% match
NVMe SSD sustained write throughput collapses under Linux when PCIe ASPM is enabled
Open0 answers - Linux24% match
Linux kernel logs NETDEV WATCHDOG and igb driver drops packets after enabling GRO on high-throughput gateway
Open1 answer