DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/vhost: improve devargs documentation
@ 2024-12-20 14:58 Maxime Coquelin
  2024-12-23 13:12 ` David Marchand
  2025-02-07  2:38 ` Chenbo Xia
  0 siblings, 2 replies; 3+ messages in thread
From: Maxime Coquelin @ 2024-12-20 14:58 UTC (permalink / raw)
  To: dev, chenbox, david.marchand; +Cc: Maxime Coquelin

This patch adds missing 'client' devarg documentation and
improve other devargs.

Bugzilla ID: 1603

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
---
 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 39c6fcff58..0013dc526f 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.
-- 
2.47.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] net/vhost: improve devargs documentation
  2024-12-20 14:58 [PATCH] net/vhost: improve devargs documentation Maxime Coquelin
@ 2024-12-23 13:12 ` David Marchand
  2025-02-07  2:38 ` Chenbo Xia
  1 sibling, 0 replies; 3+ messages in thread
From: David Marchand @ 2024-12-23 13:12 UTC (permalink / raw)
  To: Maxime Coquelin; +Cc: dev, chenbox

On Fri, Dec 20, 2024 at 3:58 PM Maxime Coquelin
<maxime.coquelin@redhat.com> wrote:
>
> This patch adds missing 'client' devarg documentation and
> improve other devargs.
>
> Bugzilla ID: 1603
>
> Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>

This fix lgtm.

Note that legacy-ol-flags is not referenced in the pmdinfo usage
string (RTE_PMD_REGISTER_PARAM_STRING).


-- 
David Marchand


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] net/vhost: improve devargs documentation
  2024-12-20 14:58 [PATCH] net/vhost: improve devargs documentation Maxime Coquelin
  2024-12-23 13:12 ` David Marchand
@ 2025-02-07  2:38 ` Chenbo Xia
  1 sibling, 0 replies; 3+ messages in thread
From: Chenbo Xia @ 2025-02-07  2:38 UTC (permalink / raw)
  To: Maxime Coquelin; +Cc: dev, david.marchand



> On Dec 20, 2024, at 22:58, Maxime Coquelin <maxime.coquelin@redhat.com> wrote:
> 
> External email: Use caution opening links or attachments
> 
> 
> This patch adds missing 'client' devarg documentation and
> improve other devargs.
> 
> Bugzilla ID: 1603
> 
> Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
> ---
> 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 39c6fcff58..0013dc526f 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.
> —
> 2.47.0
> 

Reviewed-by: Chenbo Xia <chenbox@nvidia.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-02-07  2:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-20 14:58 [PATCH] net/vhost: improve devargs documentation Maxime Coquelin
2024-12-23 13:12 ` David Marchand
2025-02-07  2:38 ` Chenbo Xia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).