|
|
b99a4f |
From b72f22efc837d0c3e917186a4179158c35e9e690 Mon Sep 17 00:00:00 2001
|
|
|
b99a4f |
Message-Id: <b72f22efc837d0c3e917186a4179158c35e9e690.1647872200.git.aclaudi@redhat.com>
|
|
|
b99a4f |
In-Reply-To: <b30268eda844bdebbb8e5e4f5735e3b1bb666368.1647872200.git.aclaudi@redhat.com>
|
|
|
b99a4f |
References: <b30268eda844bdebbb8e5e4f5735e3b1bb666368.1647872200.git.aclaudi@redhat.com>
|
|
|
b99a4f |
From: Andrea Claudi <aclaudi@redhat.com>
|
|
|
b99a4f |
Date: Mon, 21 Mar 2022 15:03:16 +0100
|
|
|
b99a4f |
Subject: [PATCH] vdpa: Update man page with added support to configure max vq
|
|
|
b99a4f |
pair
|
|
|
b99a4f |
|
|
|
b99a4f |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2056827
|
|
|
b99a4f |
Upstream Status: iproute2-next.git commit 8130653d
|
|
|
b99a4f |
|
|
|
b99a4f |
commit 8130653dabe6726b46b7b19c31d85e33a67175e3
|
|
|
b99a4f |
Author: Eli Cohen <elic@nvidia.com>
|
|
|
b99a4f |
Date: Tue Mar 15 15:13:58 2022 +0200
|
|
|
b99a4f |
|
|
|
b99a4f |
vdpa: Update man page with added support to configure max vq pair
|
|
|
b99a4f |
|
|
|
b99a4f |
Update man page to include information how to configure the max
|
|
|
b99a4f |
virtqueue pairs for a vdpa device when creating one.
|
|
|
b99a4f |
|
|
|
b99a4f |
Signed-off-by: Eli Cohen <elic@nvidia.com>
|
|
|
b99a4f |
Signed-off-by: David Ahern <dsahern@kernel.org>
|
|
|
b99a4f |
---
|
|
|
b99a4f |
man/man8/vdpa-dev.8 | 6 ++++++
|
|
|
b99a4f |
1 file changed, 6 insertions(+)
|
|
|
b99a4f |
|
|
|
b99a4f |
diff --git a/man/man8/vdpa-dev.8 b/man/man8/vdpa-dev.8
|
|
|
b99a4f |
index aa21ae3a..432867c6 100644
|
|
|
b99a4f |
--- a/man/man8/vdpa-dev.8
|
|
|
b99a4f |
+++ b/man/man8/vdpa-dev.8
|
|
|
b99a4f |
@@ -33,6 +33,7 @@ vdpa-dev \- vdpa device configuration
|
|
|
b99a4f |
.I MGMTDEV
|
|
|
b99a4f |
.RI "[ mac " MACADDR " ]"
|
|
|
b99a4f |
.RI "[ mtu " MTU " ]"
|
|
|
b99a4f |
+.RI "[ max_vqp " MAX_VQ_PAIRS " ]"
|
|
|
b99a4f |
|
|
|
b99a4f |
.ti -8
|
|
|
b99a4f |
.B vdpa dev del
|
|
|
b99a4f |
@@ -119,6 +120,11 @@ vdpa dev add name foo mgmtdev vdpa_sim_net mac 00:11:22:33:44:55 mtu 9000
|
|
|
b99a4f |
Add the vdpa device named foo on the management device vdpa_sim_net with mac address of 00:11:22:33:44:55 and mtu of 9000 bytes.
|
|
|
b99a4f |
.RE
|
|
|
b99a4f |
.PP
|
|
|
b99a4f |
+vdpa dev add name foo mgmtdev auxiliary/mlx5_core.sf.1 mac 00:11:22:33:44:55 max_vqp 8
|
|
|
b99a4f |
+.RS 4
|
|
|
b99a4f |
+Add the vdpa device named foo on the management device auxiliary/mlx5_core.sf.1 with mac address of 00:11:22:33:44:55 and max 8 virtqueue pairs
|
|
|
b99a4f |
+.RE
|
|
|
b99a4f |
+.PP
|
|
|
b99a4f |
vdpa dev del foo
|
|
|
b99a4f |
.RS 4
|
|
|
b99a4f |
Delete the vdpa device named foo which was previously created.
|
|
|
b99a4f |
--
|
|
|
b99a4f |
2.35.1
|
|
|
b99a4f |
|