From 62758c768fc87e0eea500ca813a53b660cd0da18 Mon Sep 17 00:00:00 2001 From: Tiwei Bie Date: Mon, 30 Jul 2018 16:28:04 +0800 Subject: [PATCH] net/virtio-user: fix parameters string Add the missing param "server" to param string. Also add the missing spaces after params. Fixes: bd8f50a45d0f ("net/virtio-user: support server mode") Cc: stable@dpdk.org Signed-off-by: Tiwei Bie Reviewed-by: Maxime Coquelin --- drivers/net/virtio/virtio_user_ethdev.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/virtio/virtio_user_ethdev.c b/drivers/net/virtio/virtio_user_ethdev.c index 5ee59d5e51..525d16cabb 100644 --- a/drivers/net/virtio/virtio_user_ethdev.c +++ b/drivers/net/virtio/virtio_user_ethdev.c @@ -681,6 +681,7 @@ RTE_PMD_REGISTER_PARAM_STRING(net_virtio_user, "cq= " "queue_size= " "queues= " - "iface=" - "mrg_rxbuf=<0|1>" + "iface= " + "server=<0|1> " + "mrg_rxbuf=<0|1> " "in_order=<0|1>"); -- 2.20.1