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

From: Alvaro Karsz
Date: Sun Apr 16 2023 - 12:55:27 EST


After further consideration, other virtio drivers need a minimum limit to the vring size too.

Maybe this can be more general, for example a new virtio_driver callback that is called (if implemented) during virtio_dev_probe, before drv->probe.

What do you think?

Thanks,
Alvaro