[dpdk-stable] [PATCH] net/virtio-user: fix the param string

Tiwei Bie tiwei.bie at intel.com
Mon Jul 30 10:28:04 CEST 2018


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 at dpdk.org

Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
---
 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 5ee59d5e5..525d16cab 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=<int> "
 	"queue_size=<int> "
 	"queues=<int> "
-	"iface=<string>"
-	"mrg_rxbuf=<0|1>"
+	"iface=<string> "
+	"server=<0|1> "
+	"mrg_rxbuf=<0|1> "
 	"in_order=<0|1>");
-- 
2.18.0



More information about the stable mailing list