|
|
8def76 |
From 1857f106b1fda133918456617efe74cd068c1a86 Mon Sep 17 00:00:00 2001
|
|
|
8def76 |
From: Andrea Claudi <aclaudi@redhat.com>
|
|
|
8def76 |
Date: Mon, 10 Jun 2019 15:32:55 +0200
|
|
|
8def76 |
Subject: [PATCH] rdma: Document IB device renaming option
|
|
|
8def76 |
|
|
|
8def76 |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1663228
|
|
|
8def76 |
Upstream Status: iproute2.git commit e89feffae3626
|
|
|
8def76 |
|
|
|
8def76 |
commit e89feffae3626da5b5fda352ae73db132ac60a47
|
|
|
8def76 |
Author: Leon Romanovsky <leonro@mellanox.com>
|
|
|
8def76 |
Date: Sun Nov 4 21:11:22 2018 +0200
|
|
|
8def76 |
|
|
|
8def76 |
rdma: Document IB device renaming option
|
|
|
8def76 |
|
|
|
8def76 |
[leonro@server /]$ lspci |grep -i Ether
|
|
|
8def76 |
00:08.0 Ethernet controller: Red Hat, Inc. Virtio network device
|
|
|
8def76 |
00:09.0 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4]
|
|
|
8def76 |
[leonro@server /]$ sudo rdma dev
|
|
|
8def76 |
1: mlx5_0: node_type ca fw 3.8.9999 node_guid 5254:00c0:fe12:3455
|
|
|
8def76 |
sys_image_guid 5254:00c0:fe12:3455
|
|
|
8def76 |
[leonro@server /]$ sudo rdma dev set mlx5_0 name hfi1_0
|
|
|
8def76 |
[leonro@server /]$ sudo rdma dev
|
|
|
8def76 |
1: hfi1_0: node_type ca fw 3.8.9999 node_guid 5254:00c0:fe12:3455
|
|
|
8def76 |
sys_image_guid 5254:00c0:fe12:3455
|
|
|
8def76 |
|
|
|
8def76 |
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
|
|
|
8def76 |
Signed-off-by: David Ahern <dsahern@gmail.com>
|
|
|
8def76 |
---
|
|
|
8def76 |
man/man8/rdma-dev.8 | 15 ++++++++++++++-
|
|
|
8def76 |
1 file changed, 14 insertions(+), 1 deletion(-)
|
|
|
8def76 |
|
|
|
8def76 |
diff --git a/man/man8/rdma-dev.8 b/man/man8/rdma-dev.8
|
|
|
8def76 |
index b7abfe1088c2f..069f471791904 100644
|
|
|
8def76 |
--- a/man/man8/rdma-dev.8
|
|
|
8def76 |
+++ b/man/man8/rdma-dev.8
|
|
|
8def76 |
@@ -1,6 +1,6 @@
|
|
|
8def76 |
.TH RDMA\-DEV 8 "06 Jul 2017" "iproute2" "Linux"
|
|
|
8def76 |
.SH NAME
|
|
|
8def76 |
-rdmak-dev \- RDMA device configuration
|
|
|
8def76 |
+rdma-dev \- RDMA device configuration
|
|
|
8def76 |
.SH SYNOPSIS
|
|
|
8def76 |
.sp
|
|
|
8def76 |
.ad l
|
|
|
8def76 |
@@ -22,10 +22,18 @@ rdmak-dev \- RDMA device configuration
|
|
|
8def76 |
.B rdma dev show
|
|
|
8def76 |
.RI "[ " DEV " ]"
|
|
|
8def76 |
|
|
|
8def76 |
+.ti -8
|
|
|
8def76 |
+.B rdma dev set
|
|
|
8def76 |
+.RI "[ " DEV " ]"
|
|
|
8def76 |
+.BR name
|
|
|
8def76 |
+.BR NEWNAME
|
|
|
8def76 |
+
|
|
|
8def76 |
.ti -8
|
|
|
8def76 |
.B rdma dev help
|
|
|
8def76 |
|
|
|
8def76 |
.SH "DESCRIPTION"
|
|
|
8def76 |
+.SS rdma dev set - rename rdma device
|
|
|
8def76 |
+
|
|
|
8def76 |
.SS rdma dev show - display rdma device attributes
|
|
|
8def76 |
|
|
|
8def76 |
.PP
|
|
|
8def76 |
@@ -45,6 +53,11 @@ rdma dev show mlx5_3
|
|
|
8def76 |
Shows the state of specified RDMA device.
|
|
|
8def76 |
.RE
|
|
|
8def76 |
.PP
|
|
|
8def76 |
+rdma dev set mlx5_3 name rdma_0
|
|
|
8def76 |
+.RS 4
|
|
|
8def76 |
+Renames the mlx5_3 device to rdma_0.
|
|
|
8def76 |
+.RE
|
|
|
8def76 |
+.PP
|
|
|
8def76 |
|
|
|
8def76 |
.SH SEE ALSO
|
|
|
8def76 |
.BR rdma (8),
|
|
|
8def76 |
--
|
|
|
8def76 |
2.20.1
|
|
|
8def76 |
|