| 1 |
.TH RDMA\-LINK 8 "06 Jul 2017" "iproute2" "Linux" |
| 2 |
.SH NAME |
| 3 |
rdma-link \- rdma link configuration |
| 4 |
.SH SYNOPSIS |
| 5 |
.sp |
| 6 |
.ad l |
| 7 |
.in +8 |
| 8 |
.ti -8 |
| 9 |
.B rdma |
| 10 |
.RI "[ " OPTIONS " ]" |
| 11 |
.B link |
| 12 |
.RI " { " COMMAND " | " |
| 13 |
.BR help " }" |
| 14 |
.sp |
| 15 |
|
| 16 |
.ti -8 |
| 17 |
.IR OPTIONS " := { " |
| 18 |
\fB\-V\fR[\fIersion\fR] | |
| 19 |
\fB\-d\fR[\fIetails\fR] } |
| 20 |
|
| 21 |
.ti -8 |
| 22 |
.B rdma link show |
| 23 |
.RI "[ " DEV/PORT_INDEX " ]" |
| 24 |
|
| 25 |
.ti -8 |
| 26 |
.B rdma link add |
| 27 |
.BR NAME |
| 28 |
.BR type |
| 29 |
.BR TYPE |
| 30 |
.BR netdev |
| 31 |
.BR NETDEV |
| 32 |
|
| 33 |
.ti -8 |
| 34 |
.B rdma link delete |
| 35 |
.RI NAME |
| 36 |
|
| 37 |
.ti -8 |
| 38 |
.B rdma link help |
| 39 |
|
| 40 |
.SH "DESCRIPTION" |
| 41 |
.SS rdma link show - display rdma link attributes |
| 42 |
|
| 43 |
.PP |
| 44 |
.I "DEV/PORT_INDEX" |
| 45 |
- specifies the RDMA link to show. |
| 46 |
If this argument is omitted all links are listed. |
| 47 |
|
| 48 |
.SS rdma link add - add an rdma link |
| 49 |
|
| 50 |
Add an rdma link for the specified type to the network device. |
| 51 |
.sp |
| 52 |
.BR NAME |
| 53 |
- specifies the new name of the rdma link to add |
| 54 |
|
| 55 |
.BR TYPE |
| 56 |
- specifies which rdma type to use. Link types: |
| 57 |
.sp |
| 58 |
.in +8 |
| 59 |
.B rxe |
| 60 |
- Soft RoCE driver |
| 61 |
.sp |
| 62 |
.B siw |
| 63 |
- Soft iWARP driver |
| 64 |
.in -8 |
| 65 |
|
| 66 |
.BR NETDEV |
| 67 |
- specifies the network device to which the link is bound |
| 68 |
|
| 69 |
.SS rdma link delete NAME - delete an rdma link |
| 70 |
.PP |
| 71 |
.BR NAME |
| 72 |
- specifies the name of the rdma link to delete |
| 73 |
.PP |
| 74 |
|
| 75 |
.SH "EXAMPLES" |
| 76 |
.PP |
| 77 |
rdma link show |
| 78 |
.RS 4 |
| 79 |
Shows the state of all rdma links on the system. |
| 80 |
.RE |
| 81 |
.PP |
| 82 |
rdma link show mlx5_2/1 |
| 83 |
.RS 4 |
| 84 |
Shows the state of the specified rdma link. |
| 85 |
.RE |
| 86 |
.PP |
| 87 |
rdma link add rxe_eth0 type rxe netdev eth0 |
| 88 |
.RS 4 |
| 89 |
Adds a RXE link named rxe_eth0 to network device eth0. |
| 90 |
.RE |
| 91 |
.PP |
| 92 |
rdma link del rxe_eth0 |
| 93 |
.RS 4 |
| 94 |
Removes RXE link rxe_eth0. |
| 95 |
.RE |
| 96 |
.PP |
| 97 |
|
| 98 |
.SH SEE ALSO |
| 99 |
.BR rdma (8), |
| 100 |
.BR rdma-dev (8), |
| 101 |
.BR rdma-resource (8), |
| 102 |
.BR rdma-statistic (8), |
| 103 |
.br |
| 104 |
|
| 105 |
.SH AUTHOR |
| 106 |
Leon Romanovsky <[email protected]> |