From: Eli Cohen <elic@nvidia.com>
To: <dsahern@kernel.org>, <netdev@vger.kernel.org>,
<virtualization@lists.linux-foundation.org>,
<jasowang@redhat.com>
Cc: <si-wei.liu@oracle.com>, <mst@redhat.com>, <eperezma@redhat.com>,
"Eli Cohen" <elic@nvidia.com>
Subject: [PATCH] vdpa: Update man page to include vdpa statistics
Date: Thu, 21 Jul 2022 09:00:07 +0300 [thread overview]
Message-ID: <20220721060007.32250-1-elic@nvidia.com> (raw)
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
next reply other threads:[~2022-07-21 6:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-21 6:00 Eli Cohen [this message]
2022-07-21 15:20 ` [PATCH] vdpa: Update man page to include vdpa statistics patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220721060007.32250-1-elic@nvidia.com \
--to=elic@nvidia.com \
--cc=dsahern@kernel.org \
--cc=eperezma@redhat.com \
--cc=jasowang@redhat.com \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=si-wei.liu@oracle.com \
--cc=virtualization@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).