9 lines
644 B
Plaintext
9 lines
644 B
Plaintext
# vfio-native: the emulated e1000e NIC's TX checksum and segmentation offloads
|
|
# corrupt packets on the host side of a libvirt tap. SMB tolerates it; SSH fails
|
|
# with "Corrupted MAC on input" and any integrity-checked protocol breaks.
|
|
# Measured on a Zen 4 host with QEMU 11.1.1. Disabling the offloads on every
|
|
# libvirt tap as it appears fixes it; on a host<->guest link the throughput
|
|
# cost is not measurable. libvirt's <driver><host .../> attributes are ignored
|
|
# for e1000e, and a libvirt hook must not call virsh, hence udev.
|
|
ACTION=="add", SUBSYSTEM=="net", KERNEL=="vnet*", RUN+="/usr/bin/ethtool -K %k tx off gso off gro off tso off"
|