]>
Commit | Line | Data |
---|---|---|
860676b4 LR |
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 | |
853d222d | 10 | .RI "[ " OPTIONS " ] " RESOURCE " { " COMMAND " | " |
860676b4 LR |
11 | .BR help " }" |
12 | .sp | |
13 | ||
853d222d SW |
14 | .ti -8 |
15 | .IR RESOURCE " := { " | |
16 | .BR cm_id " | " cq " | " mr " | " pd " | " qp " }" | |
17 | .sp | |
18 | ||
860676b4 LR |
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 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 | |
853d222d SW |
76 | rdma res show qp link mlx5_4/- -dd |
77 | .RS 4 | |
78 | Detailed view including driver-specific details. | |
79 | .RE | |
80 | .PP | |
860676b4 LR |
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 | |
7c01e0fc MG |
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 | |
853d222d SW |
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 | |
860676b4 LR |
106 | |
107 | .SH SEE ALSO | |
108 | .BR rdma (8), | |
109 | .BR rdma-dev (8), | |
110 | .BR rdma-link (8), | |
ca084842 | 111 | .BR rdma-statistic (8), |
860676b4 LR |
112 | .br |
113 | ||
114 | .SH AUTHOR | |
115 | Leon Romanovsky <leonro@mellanox.com> |