qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 1/2] virtio-net: enable configurable tx queue


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v3 1/2] virtio-net: enable configurable tx queue size
Date: Mon, 26 Jun 2017 20:51:23 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0

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 <address@hidden>
> ---
>  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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]