On 06/22/2017 09:32 PM, Wei Wang wrote: > This patch enables the virtio-net tx queue size to be configurable > between 256 (the default queue size) and 1024 by the user when the > vhost-user backend is used.
When sending a multi-patch series, don't forget the 0/2 cover letter. > > Currently, the maximum tx queue size for other backends is 512 due > to the following limitations: > - QEMU backend: the QEMU backend implementation in some cases may > send 1024+1 iovs to writev. > - Vhost_net backend: there are possibilities that the guest sends > a vring_desc of memory which corsses a MemoryRegion thereby s/corsses/crosses/ > generating more than 1024 iovs after translattion from guest-physical s/translattion/translation/ > address in the backend. > > Signed-off-by: Wei Wang <wei.w.w...@intel.com> > --- > hw/net/virtio-net.c | 45 > +++++++++++++++++++++++++++++++++--------- > include/hw/virtio/virtio-net.h | 1 + > 2 files changed, 37 insertions(+), 9 deletions(-) > -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature