On Mon, Nov 23, 2026 at 04:43:29PM +0100, Jan Klemkow wrote: > How do you get this case with LRO and w/o CSUM_TCPv4/CSUM_TCPv6. vio(4) > resets > the interface an renegotiates without GUEST_TSO4/GUEST_TSO6 in this case.
As far as I can see, vio_attach() only renegotiates with want_tso = 0 if GUEST_TSO4/6 was accepted without CTRL_GUEST_OFFLOADS or MRG_RXBUF. It doesn't check CSUM, so the host can offer everything needed for LRO and TSO but not CSUM. > What KVM or VPS provider do you use for your machine? The provider is HostKey, running oVirt on RHEL 8.6 (QEMU/KVM). > Looks like this Hypervisor dont't follow the VirtIO spec. Agreed, it's a broken hypervisor setup. I was surprised enough to check, and it seems QEMU lets you set it up like this. I have raised it with the provider and hope they fix it. It only happened on some boots (maybe as the VM hopped between oVirt hosts), and it took me a week to diagnose. I don't know if it would be something the QEMU team would look at foolproofing. I couldn't find a way to know how often VPS configurations are broken in this way. I run several other systems on HostKey and checked their virtio drivers too. Those that use TSO handle CSUM not being available gracefully. For example, FreeBSD's vtnet(4) only enables TSO if CSUM was negotiated, and turns TSO off if txcsum is disabled. I'm not sure whether those checks came from this problem turning up at some point. At any rate, on those systems the broken host probably wouldn't be noticed. As it stands I've left TSO disabled so I don't have to worry about a reboot taking me to a broken host. I can try and boot a VIRTIO_DEBUG kernel to log the exact features the host offers, if that would help. KR Ali
