Re: [PATCH net] virtio-net: reject small vring sizes

From: Alvaro Karsz
Date: Mon Apr 17 2023 - 03:08:53 EST


> Why tx timeout without frags?

Please see my response to Michael.

> > * Guest GSO/big MTU (without VIRTIO_NET_F_MRG_RXBUF?), we can't chain page size buffers anymore.
>
>
> Or, we disable the GUEST_GSO, HOST_GSO......
>
And disable VIRTIO_NET_F_MTU, quoting the spec:
"A driver SHOULD negotiate VIRTIO_NET_F_MTU if the device offers it."

We can find a way around using buffers bigger than a page size like Michael implied.