[iproute2-next,4/4] rdma: Add man page for rdma dev set netns command
diff mbox series

Message ID 20190521142244.8452-5-parav@mellanox.com
State Changes Requested
Delegated to: David Ahern
Headers show
  • Enrich rdma tool for net namespace commands
Related show

Commit Message

Parav Pandit May 21, 2019, 2:22 p.m. UTC
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 mbox series

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
+.ti -8
+.B rdma dev set
+.RI "[ " DEV " ]"
+.BR netns
 .ti -8
 .B rdma dev help
-.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
 .I "DEV"
@@ -58,11 +64,19 @@  rdma dev set mlx5_3 name rdma_0
 Renames the mlx5_3 device to rdma_0.
+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.
+.BR ip (8),
 .BR rdma (8),
 .BR rdma-link (8),
 .BR rdma-resource (8),
+.BR rdma-system (8),