net/virtio-user: fix the param string
PATCH 1/1 net/virtio-user: fix the param string
Add the missing param "server" to param string.
Also add the missing spaces after params.
Fixes bd8f50a45d0f ("net/virtio-user: support server mode")
Signed-off-by Tiwei Bie <[email protected]>
--- drivers/net/virtio/virtio_user_ethdev.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/net/virtio/virtio_user_ethdev.c +3 -2
@@ -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>");
Signature · 1 line
2.18.0
Quoted 17 lines · Tiwei Bie
Add the missing param "server" to param string.
Also add the missing spaces after params.Fixes bd8f50a45d0f ("net/virtio-user: support server mode")Signed-off-by Tiwei Bie <[email protected]>--- drivers/net/virtio/virtio_user_ethdev.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)drivers/net/virtio/virtio_user_ethdev.c +0
-0
drivers/net/virtio/virtio_user_ethdev.c RTE_PMD_REGISTER_PARAM_STRING(net_virtio_user, · line 687
Quoted 9 lines
drivers/net/virtio/virtio_user_ethdev.c +3
-2@@ -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>");
Reviewed-by Maxime Coquelin <[email protected]>
Thanks!
Maxime
Tiwei Bie
AppliedQuoted 21 lines · Maxime Coquelin
Quoted 20 lines · Tiwei Bie
Add the missing param "server" to param string.
Also add the missing spaces after params.Fixes bd8f50a45d0f ("net/virtio-user: support server mode")Signed-off-by Tiwei Bie <[email protected]>--- drivers/net/virtio/virtio_user_ethdev.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)drivers/net/virtio/virtio_user_ethdev.c +0
-1@@ -681,6 +681,7 @@ RTE_PMD_REGISTER_PARAM_STRING(net_virtio_user,"cq=<int> " "queue_size=<int> " "queues=<int> " -"iface=<string>"
Quoted 8 lines
drivers/net/virtio/virtio_user_ethdev.c RTE_PMD_REGISTER_PARAM_STRING(net_virtio_user, · line 687
Quoted 6 lines
drivers/net/virtio/virtio_user_ethdev.c +3
-1-"mrg_rxbuf=<0|1>" +"iface=<string> " +"server=<0|1> " +"mrg_rxbuf=<0|1> " "in_order=<0|1>");Reviewed-by Maxime Coquelin <[email protected]>
Applied to dpdk-next-virtio/master, thanks.