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>
This commit is contained in:
parent
3994fc8f58
commit
e0530a802f
1 changed files with 1 additions and 1 deletions
2
qrap.c
2
qrap.c
|
@ -223,7 +223,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
if (has_dev) {
|
if (has_dev) {
|
||||||
qemu_argv[qemu_argc++] = "-device";
|
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);
|
dev->name, dev->template, i, dev->template_post);
|
||||||
qemu_argv[qemu_argc++] = dev_str;
|
qemu_argv[qemu_argc++] = dev_str;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue