mirror of
https://passt.top/passt
synced 2024-10-01 03:25:48 +00:00
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
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 New Issue
Block a user