From 50f81b7624bdd9a126e3fc4345f10e814f38ab02 Mon Sep 17 00:00:00 2001 From: Maxime Coquelin Date: Fri, 20 Dec 2024 14:42:48 +0100 Subject: [PATCH] net/vhost: improve devargs documentation This patch adds missing 'client' devarg documentation and improve other devargs. Bugzilla ID: 1603 Signed-off-by: Maxime Coquelin --- doc/guides/nics/vhost.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/guides/nics/vhost.rst b/doc/guides/nics/vhost.rst index 39c6fcff588..0013dc526fe 100644 --- a/doc/guides/nics/vhost.rst +++ b/doc/guides/nics/vhost.rst @@ -32,13 +32,18 @@ The user can specify below arguments in `--vdev` option. #. ``iface``: - It is used to specify a path to connect to a QEMU virtio-net device. + It is used to specify a path to connect to a Vhost-user frontend or VDUSE device. #. ``queues``: - It is used to specify the number of queues virtio-net device has. + It is used to specify the number of queue pairs virtio-net device has. (Default: 1) +#. ``client``: + + It is used to specify whether the Vhost PMD acts as client or server. + (Default: 0 (server)) + #. ``iommu-support``: It is used to enable iommu support in vhost library.