diff options
| author | Wei Wang | 2017-06-28 04:37:59 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2017-07-03 21:29:48 +0200 |
| commit | 9b02e1618cf26aa52cf786f215d757506dda14f8 (patch) | |
| tree | 75f6fe4ee12e8b7fb3acabf49f599fd5c79807e8 /scripts | |
| parent | Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20170603' into staging (diff) | |
| download | qemu-9b02e1618cf26aa52cf786f215d757506dda14f8.tar.gz qemu-9b02e1618cf26aa52cf786f215d757506dda14f8.tar.xz qemu-9b02e1618cf26aa52cf786f215d757506dda14f8.zip | |
virtio-net: enable configurable tx queue size
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.
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 crosses a MemoryRegion thereby
generating more than 1024 iovs after translation from guest-physical
address in the backend.
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
