Skip to content

Commit

Permalink
examples/vhost: update usage message
Browse files Browse the repository at this point in the history
updating vhost usage message to be aligned with the documentation.

Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec@intel.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
  • Loading branch information
hero24 authored and mcoquelin committed Jul 1, 2022
1 parent 5f4f26d commit 0a666b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/vhost/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,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"
Expand All @@ -645,11 +644,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);
}

Expand Down

0 comments on commit 0a666b8

Please sign in to comment.