| 1 |
.TH RDMA\-RESOURCE 8 "26 Dec 2017" "iproute2" "Linux" |
| 2 |
.SH NAME |
| 3 |
rdma-resource \- rdma resource configuration |
| 4 |
.SH SYNOPSIS |
| 5 |
.sp |
| 6 |
.ad l |
| 7 |
.in +8 |
| 8 |
.ti -8 |
| 9 |
.B rdma |
| 10 |
.RI "[ " OPTIONS " ] " RESOURCE " { " COMMAND " | " |
| 11 |
.BR help " }" |
| 12 |
.sp |
| 13 |
|
| 14 |
.ti -8 |
| 15 |
.IR RESOURCE " := { " |
| 16 |
.BR cm_id " | " cq " | " mr " | " pd " | " qp " | " ctx " | " srq " }" |
| 17 |
.sp |
| 18 |
|
| 19 |
.ti -8 |
| 20 |
.IR OPTIONS " := { " |
| 21 |
\fB\-j\fR[\fIson\fR] | |
| 22 |
\fB\-d\fR[\fIetails\fR] } |
| 23 |
|
| 24 |
.ti -8 |
| 25 |
.B rdma resource show |
| 26 |
.RI "[ " DEV/PORT_INDEX " ]" |
| 27 |
|
| 28 |
.ti -8 |
| 29 |
.B rdma resource help |
| 30 |
|
| 31 |
.SH "DESCRIPTION" |
| 32 |
.SS rdma resource show - display rdma resource tracking information |
| 33 |
|
| 34 |
.PP |
| 35 |
.I "DEV/PORT_INDEX" |
| 36 |
- specifies the RDMA link to show. |
| 37 |
If this argument is omitted all links are listed. |
| 38 |
|
| 39 |
.SH "EXAMPLES" |
| 40 |
.PP |
| 41 |
rdma resource show |
| 42 |
.RS 4 |
| 43 |
Shows summary for all devices on the system. |
| 44 |
.RE |
| 45 |
.PP |
| 46 |
rdma resource show mlx5_2 |
| 47 |
.RS 4 |
| 48 |
Shows the state of the specified rdma device. |
| 49 |
.RE |
| 50 |
.PP |
| 51 |
rdma res show qp link mlx5_4 |
| 52 |
.RS 4 |
| 53 |
Get all QPs for the specific device. |
| 54 |
.RE |
| 55 |
.PP |
| 56 |
rdma res show qp link mlx5_4/1 |
| 57 |
.RS 4 |
| 58 |
Get QPs of specific port. |
| 59 |
.RE |
| 60 |
.PP |
| 61 |
rdma res show qp link mlx5_4/0 |
| 62 |
.RS 4 |
| 63 |
Provide illegal port number (0 is illegal). |
| 64 |
.RE |
| 65 |
.PP |
| 66 |
rdma res show qp link mlx5_4/- |
| 67 |
.RS 4 |
| 68 |
Get QPs which have not assigned port yet. |
| 69 |
.RE |
| 70 |
.PP |
| 71 |
rdma res show qp link mlx5_4/- -d |
| 72 |
.RS 4 |
| 73 |
Detailed view. |
| 74 |
.RE |
| 75 |
.PP |
| 76 |
rdma res show qp link mlx5_4/- -dd |
| 77 |
.RS 4 |
| 78 |
Detailed view including driver-specific details. |
| 79 |
.RE |
| 80 |
.PP |
| 81 |
rdma res show qp link mlx5_4/1 lqpn 0-6 |
| 82 |
.RS 4 |
| 83 |
Limit to specific Local QPNs. |
| 84 |
.RE |
| 85 |
.PP |
| 86 |
rdma res show qp link mlx5_4/1 lqpn 6 -r |
| 87 |
.RS 4 |
| 88 |
Driver specific details in raw format. |
| 89 |
.RE |
| 90 |
.PP |
| 91 |
rdma resource show cm_id dst-port 7174 |
| 92 |
.RS 4 |
| 93 |
Show CM_IDs with destination ip port of 7174. |
| 94 |
.RE |
| 95 |
.PP |
| 96 |
rdma resource show cm_id src-addr 172.16.0.100 |
| 97 |
.RS 4 |
| 98 |
Show CM_IDs bound to local ip address 172.16.0.100. |
| 99 |
.RE |
| 100 |
.PP |
| 101 |
rdma resource show cq pid 30489 |
| 102 |
.RS 4 |
| 103 |
Show CQs belonging to pid 30489. |
| 104 |
.RE |
| 105 |
.PP |
| 106 |
rdma resource show ctx ctxn 1 |
| 107 |
.RS 4 |
| 108 |
Show contexts that have index equal to 1. |
| 109 |
.RE |
| 110 |
.PP |
| 111 |
rdma resource show srq lqpn 5-7 |
| 112 |
.RS 4 |
| 113 |
Show SRQs that the QPs with lqpn 5-7 are associated with. |
| 114 |
.RE |
| 115 |
.PP |
| 116 |
|
| 117 |
.SH SEE ALSO |
| 118 |
.BR rdma (8), |
| 119 |
.BR rdma-dev (8), |
| 120 |
.BR rdma-link (8), |
| 121 |
.BR rdma-statistic (8), |
| 122 |
.br |
| 123 |
|
| 124 |
.SH AUTHOR |
| 125 |
Leon Romanovsky <[email protected]> |