[PATCH grout 1/2] infra: fix virtio user Rx issues
Andrei Rybchenko
rybchenko.andrei at gmail.com
Thu Sep 10 14:59:15 CEST 2026
virtio_user is handled by the same tap driver in Linux kernel.
So, it has queue pairs. I.e. number of Rx and Tx queues should match.
Also it has the same issues with link up as net_tap.
Signed-off-by: Andrei Rybchenko <rybchenko.andrei at gmail.com>
---
modules/infra/control/port.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/infra/control/port.c b/modules/infra/control/port.c
index d335f3af..ec9bfb1e 100644
--- a/modules/infra/control/port.c
+++ b/modules/infra/control/port.c
@@ -116,6 +116,7 @@ int port_configure(struct iface_info_port *p, uint16_t n_txq_min) {
p->n_txq = RTE_MIN(n_txq_min, info.max_tx_queues);
if (strcmp(info.driver_name, "net_tap") == 0
+ || strcmp(info.driver_name, "net_virtio_user") == 0
|| strcmp(info.driver_name, "net_virtio") == 0) {
// force number of TX queues equal to requested RX queues
p->n_txq = p->n_rxq;
--
2.47.3
More information about the grout
mailing list