From: Parav Pandit <parav@mellanox.com>
To: dsahern@gmail.com
Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org,
stephen@networkplumber.org, leonro@mellanox.com,
parav@mellanox.com
Subject: [PATCH iproute2-next 4/4] rdma: Add man page for rdma dev set netns command
Date: Tue, 21 May 2019 09:22:44 -0500 [thread overview]
Message-ID: <20190521142244.8452-5-parav@mellanox.com> (raw)
In-Reply-To: <20190521142244.8452-1-parav@mellanox.com>
Add man page to describe additional set netns command
for rdma device.
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
---
man/man8/rdma-dev.8 | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/man/man8/rdma-dev.8 b/man/man8/rdma-dev.8
index 069f4717..38e34b3b 100644
--- a/man/man8/rdma-dev.8
+++ b/man/man8/rdma-dev.8
@@ -28,13 +28,19 @@ rdma-dev \- RDMA device configuration
.BR name
.BR NEWNAME
+.ti -8
+.B rdma dev set
+.RI "[ " DEV " ]"
+.BR netns
+.BR NSNAME
+
.ti -8
.B rdma dev help
.SH "DESCRIPTION"
-.SS rdma dev set - rename rdma device
+.SS rdma dev set - rename RDMA device or set network namespace
-.SS rdma dev show - display rdma device attributes
+.SS rdma dev show - display RDMA device attributes
.PP
.I "DEV"
@@ -58,11 +64,19 @@ rdma dev set mlx5_3 name rdma_0
Renames the mlx5_3 device to rdma_0.
.RE
.PP
+rdma dev set mlx5_3 netns foo
+.RS 4
+Changes the network namespace of RDMA device to foo where foo is
+previously created using iproute2 ip command.
+.RE
+.PP
.SH SEE ALSO
+.BR ip (8),
.BR rdma (8),
.BR rdma-link (8),
.BR rdma-resource (8),
+.BR rdma-system (8),
.br
.SH AUTHOR
--
2.19.2
prev parent reply other threads:[~2019-05-21 14:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-21 14:22 [PATCH iproute2-next 0/4] Enrich rdma tool for net namespace commands Parav Pandit
2019-05-21 14:22 ` [PATCH iproute2-next 1/4] rdma: Add an option to query,set net namespace sharing sys parameter Parav Pandit
2019-05-29 16:12 ` David Ahern
2019-05-31 3:07 ` Parav Pandit
2019-05-21 14:22 ` [PATCH iproute2-next 2/4] rdma: Add man pages for rdma system commands Parav Pandit
2019-05-21 14:22 ` [PATCH iproute2-next 3/4] rdma: Add an option to set net namespace of rdma device Parav Pandit
2019-05-21 14:22 ` Parav Pandit [this message]
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=20190521142244.8452-5-parav@mellanox.com \
--to=parav@mellanox.com \
--cc=dsahern@gmail.com \
--cc=leonro@mellanox.com \
--cc=linux-rdma@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.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