aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Cohen <elic@nvidia.com>2022-07-21 09:00:07 +0300
committerDavid Ahern <dsahern@kernel.org>2022-07-21 09:09:07 -0600
commit50ec8f05f8cbbf9b1133a752b03108334aa43aaa (patch)
tree4ccf73536bc65b7117c2afe27f064abfc5de5a35
parent77b3a84e8fbeaf3a4fde8011ff761c1fe8ac0f31 (diff)
downloadiproute2-50ec8f05f8cbbf9b1133a752b03108334aa43aaa.tar.gz
vdpa: Update man page to include vdpa statistics
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> Signed-off-by: David Ahern <dsahern@kernel.org>
-rw-r--r--man/man8/vdpa-dev.822
1 files changed, 22 insertions, 0 deletions
diff --git a/man/man8/vdpa-dev.8 b/man/man8/vdpa-dev.8
index 432867c65..9faf38387 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),