[PATCH v2 3/3] examples/vhost: update vhost usage message
Herakliusz Lipiec
herakliusz.lipiec at intel.com
Tue Jun 21 14:13:15 CEST 2022
updating vhost usage message to be aligned with the documentation.
Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec at intel.com>
Reviewed-by: Chenbo Xia <chenbo.xia at intel.com>
---
examples/vhost/main.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index c4d46de1c5..bb1aadffa9 100644
--- a/examples/vhost/main.c
+++ b/examples/vhost/main.c
@@ -601,7 +601,6 @@ us_vhost_usage(const char *prgname)
" --vm2vm [0|1|2]\n"
" --rx_retry [0|1] --mergeable [0|1] --stats [0-N]\n"
" --socket-file <path>\n"
- " --nb-devices ND\n"
" -p PORTMASK: Set mask for ports to be used by application\n"
" --vm2vm [0|1|2]: disable/software(default)/hardware vm2vm comms\n"
" --rx-retry [0|1]: disable/enable(default) retries on Rx. Enable retry if destination queue is full\n"
@@ -610,11 +609,12 @@ us_vhost_usage(const char *prgname)
" --mergeable [0|1]: disable(default)/enable RX mergeable buffers\n"
" --stats [0-N]: 0: Disable stats, N: Time in seconds to print stats\n"
" --socket-file: The path of the socket file.\n"
- " --tx-csum [0|1] disable/enable TX checksum offload.\n"
- " --tso [0|1] disable/enable TCP segment offload.\n"
- " --client register a vhost-user socket as client mode.\n"
- " --dmas register dma channel for specific vhost device.\n"
- " --total-num-mbufs [0-N] set the number of mbufs to be allocated in mbuf pools, the default value is 147456.\n",
+ " --tx-csum [0|1]: disable/enable TX checksum offload.\n"
+ " --tso [0|1]: disable/enable TCP segment offload.\n"
+ " --client: register a vhost-user socket as client mode.\n"
+ " --dmas: register dma channel for specific vhost device.\n"
+ " --total-num-mbufs [0-N]: set the number of mbufs to be allocated in mbuf pools, the default value is 147456.\n"
+ " --builtin-net-driver: enable simple vhost-user net driver\n",
prgname);
}
--
2.36.1
More information about the dev
mailing list