Re: [Qemu-devel] [PATCH] virtio-net: Make virtio queue sizes configurable

2016-03-15 Thread Patrik Hermansson
Hi Michael Thanks for looking into the patch and for your comments. 2016-03-15 5:50 GMT+01:00 Michael S. Tsirkin : > On Fri, Nov 27, 2015 at 04:02:39PM +0100, Patrik Hermansson wrote: >> This patch adds the option to specify virtio queue sizes. Currently the >> queue sizes is ha

Re: [Qemu-devel] [PATCH] virtio-net: Make virtio queue sizes configurable

2016-03-15 Thread Patrik Hermansson
Hi Greg, Thanks for your comments and for taking the time. 2016-03-14 12:27 GMT+01:00 Greg Kurz : > > SoB tag is missing. I will add this in the future. > > +static void virtio_net_validate_queue_limit(uint16_t *queue_size) > > +{ > > +if (*queue_size > VIRTIO_QUEUE_SIZE_MAX) { > > +

[Qemu-devel] [PATCH] virtio-net: Make virtio queue sizes configurable

2015-11-27 Thread Patrik Hermansson
This patch adds the option to specify virtio queue sizes. Currently the queue sizes is hard coded to 256, which might not be suitable for all types of applications. This patch makes it possible to specify the queue size between 256 to 1024. The minimum value is chosen based on the current sizes of