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