diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-09-09 15:32:24 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-09-09 15:40:04 +0200 |
commit | e0530a802fb1455b15fdcc729280384368fde889 (patch) | |
tree | 6ee3195d27696d73c5b0fbfc8de28dc681a143b4 | |
parent | 3994fc8f589aa44b1fecfcba223f9852e5a6064b (diff) | |
download | passt-e0530a802fb1455b15fdcc729280384368fde889.tar passt-e0530a802fb1455b15fdcc729280384368fde889.tar.gz passt-e0530a802fb1455b15fdcc729280384368fde889.tar.bz2 passt-e0530a802fb1455b15fdcc729280384368fde889.tar.lz passt-e0530a802fb1455b15fdcc729280384368fde889.tar.xz passt-e0530a802fb1455b15fdcc729280384368fde889.tar.zst passt-e0530a802fb1455b15fdcc729280384368fde889.zip |
qrap: Set x-txburst as temporary workaround for virtio-net TX stall
Flooding a virtio-net interface connected to a socket back-end results
in a TX stall I'm still debugging. The stall goes away by setting a
higher value for x-txburst (256 by default).
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | qrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -223,7 +223,7 @@ int main(int argc, char **argv) if (has_dev) { qemu_argv[qemu_argc++] = "-device"; - snprintf(dev_str, ARG_MAX, "%s,%s%x%s,netdev=hostnet0", + snprintf(dev_str, ARG_MAX, "%s,%s%x%s,netdev=hostnet0,x-txburst=4096", dev->name, dev->template, i, dev->template_post); qemu_argv[qemu_argc++] = dev_str; } |