netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vdpa: Update man page to include vdpa statistics
@ 2022-07-21  6:00 Eli Cohen
  2022-07-21 15:20 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Eli Cohen @ 2022-07-21  6:00 UTC (permalink / raw)
  To: dsahern, netdev, virtualization, jasowang
  Cc: si-wei.liu, mst, eperezma, Eli Cohen

Update the man page to include vdpa statistics information inroduce in
6f97e9c9337b ("vdpa: Add support for reading vdpa device statistics")

Signed-off-by: Eli Cohen <elic@nvidia.com>
---
 man/man8/vdpa-dev.8 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/man/man8/vdpa-dev.8 b/man/man8/vdpa-dev.8
index 432867c65182..9faf38387e53 100644
--- a/man/man8/vdpa-dev.8
+++ b/man/man8/vdpa-dev.8
@@ -43,6 +43,13 @@ vdpa-dev \- vdpa device configuration
 .B vdpa dev config show
 .RI "[ " DEV " ]"
 
+.ti -8
+.B vdpa dev vstats show
+.I DEV
+.B qidx
+.I QUEUE_INDEX
+
+
 .SH "DESCRIPTION"
 .SS vdpa dev show - display vdpa device attributes
 
@@ -93,6 +100,16 @@ Format is:
 .in +2
 VDPA_DEVICE_NAME
 
+.SS vdpa dev vstats show - shows vendor specific statistics for the given device and virtqueue index. The information is presented as name-value pairs where name is the name of the field and value is a numeric value for it.
+
+.TP
+.BI "DEV"
+- specifies the vdpa device to query
+
+.TP
+.BI qidx " QUEUE_INDEX"
+- specifies the virtqueue index to query
+
 .SH "EXAMPLES"
 .PP
 vdpa dev show
@@ -134,6 +151,11 @@ vdpa dev config show foo
 .RS 4
 Shows the vdpa device configuration of device named foo.
 .RE
+.PP
+vdpa dev vstats show vdpa0 qidx 1
+.RS 4
+Shows vendor specific statistics information for vdpa device vdpa0 and virtqueue index 1
+.RE
 
 .SH SEE ALSO
 .BR vdpa (8),
-- 
2.35.1


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

* Re: [PATCH] vdpa: Update man page to include vdpa statistics
  2022-07-21  6:00 [PATCH] vdpa: Update man page to include vdpa statistics Eli Cohen
@ 2022-07-21 15:20 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-07-21 15:20 UTC (permalink / raw)
  To: Eli Cohen
  Cc: dsahern, netdev, virtualization, jasowang, si-wei.liu, mst, eperezma

Hello:

This patch was applied to iproute2/iproute2-next.git (main)
by David Ahern <dsahern@kernel.org>:

On Thu, 21 Jul 2022 09:00:07 +0300 you wrote:
> Update the man page to include vdpa statistics information inroduce in
> 6f97e9c9337b ("vdpa: Add support for reading vdpa device statistics")
> 
> Signed-off-by: Eli Cohen <elic@nvidia.com>
> ---
>  man/man8/vdpa-dev.8 | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)

Here is the summary with links:
  - vdpa: Update man page to include vdpa statistics
    https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=50ec8f05f8cb

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2022-07-21 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-21  6:00 [PATCH] vdpa: Update man page to include vdpa statistics Eli Cohen
2022-07-21 15:20 ` patchwork-bot+netdevbpf

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).