mirror_iproute2/man/man8/rdma-dev.8
Leon Romanovsky e89feffae3 rdma: Document IB device renaming option
[leonro@server /]$ lspci |grep -i Ether
00:08.0 Ethernet controller: Red Hat, Inc. Virtio network device
00:09.0 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4]
[leonro@server /]$ sudo rdma dev
1: mlx5_0: node_type ca fw 3.8.9999 node_guid 5254:00c0:fe12:3455
sys_image_guid 5254:00c0:fe12:3455
[leonro@server /]$ sudo rdma dev set mlx5_0 name hfi1_0
[leonro@server /]$ sudo rdma dev
1: hfi1_0: node_type ca fw 3.8.9999 node_guid 5254:00c0:fe12:3455
sys_image_guid 5254:00c0:fe12:3455

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
2018-11-05 19:12:03 -08:00

69 lines
992 B
Groff

.TH RDMA\-DEV 8 "06 Jul 2017" "iproute2" "Linux"
.SH NAME
rdma-dev \- RDMA device configuration
.SH SYNOPSIS
.sp
.ad l
.in +8
.ti -8
.B rdma
.RI "[ " OPTIONS " ]"
.B dev
.RI " { " COMMAND " | "
.BR help " }"
.sp
.ti -8
.IR OPTIONS " := { "
\fB\-V\fR[\fIersion\fR] |
\fB\-d\fR[\fIetails\fR] }
.ti -8
.B rdma dev show
.RI "[ " DEV " ]"
.ti -8
.B rdma dev set
.RI "[ " DEV " ]"
.BR name
.BR NEWNAME
.ti -8
.B rdma dev help
.SH "DESCRIPTION"
.SS rdma dev set - rename rdma device
.SS rdma dev show - display rdma device attributes
.PP
.I "DEV"
- specifies the RDMA device to show.
If this argument is omitted all devices are listed.
.SH "EXAMPLES"
.PP
rdma dev
.RS 4
Shows the state of all RDMA devices on the system.
.RE
.PP
rdma dev show mlx5_3
.RS 4
Shows the state of specified RDMA device.
.RE
.PP
rdma dev set mlx5_3 name rdma_0
.RS 4
Renames the mlx5_3 device to rdma_0.
.RE
.PP
.SH SEE ALSO
.BR rdma (8),
.BR rdma-link (8),
.br
.SH AUTHOR
Leon Romanovsky <leonro@mellanox.com>