summaryrefslogtreecommitdiffstats
path: root/man/man8/rdma-resource.8
blob: 1035478d7bfd09accea642e74dff2cbf45adccdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
.TH RDMA\-RESOURCE 8 "26 Dec 2017" "iproute2" "Linux"
.SH NAME
rdma-resource \- rdma resource configuration
.SH SYNOPSIS
.sp
.ad l
.in +8
.ti -8
.B rdma
.RI "[ " OPTIONS " ] " RESOURCE " { " COMMAND " | "
.BR help " }"
.sp

.ti -8
.IR RESOURCE " := { "
.BR cm_id " | " cq " | " mr " | " pd " | " qp " | " ctx " | " srq " }"
.sp

.ti -8
.IR OPTIONS " := { "
\fB\-j\fR[\fIson\fR] |
\fB\-d\fR[\fIetails\fR] }

.ti -8
.B rdma resource show
.RI "[ " DEV/PORT_INDEX " ]"

.ti -8
.B rdma resource help

.SH "DESCRIPTION"
.SS rdma resource show - display rdma resource tracking information

.PP
.I "DEV/PORT_INDEX"
- specifies the RDMA link to show.
If this argument is omitted all links are listed.

.SH "EXAMPLES"
.PP
rdma resource show
.RS 4
Shows summary for all devices on the system.
.RE
.PP
rdma resource show mlx5_2
.RS 4
Shows the state of specified rdma device.
.RE
.PP
rdma res show qp link mlx5_4
.RS 4
Get all QPs for the specific device.
.RE
.PP
rdma res show qp link mlx5_4/1
.RS 4
Get QPs of specific port.
.RE
.PP
rdma res show qp link mlx5_4/0
.RS 4
Provide illegal port number (0 is illegal).
.RE
.PP
rdma res show qp link mlx5_4/-
.RS 4
Get QPs which have not assigned port yet.
.RE
.PP
rdma res show qp link mlx5_4/- -d
.RS 4
Detailed view.
.RE
.PP
rdma res show qp link mlx5_4/- -dd
.RS 4
Detailed view including driver-specific details.
.RE
.PP
rdma res show qp link mlx5_4/1 lqpn 0-6
.RS 4
Limit to specific Local QPNs.
.RE
.PP
rdma res show qp link mlx5_4/1 lqpn 6 -r
.RS 4
Driver specific details in raw format.
.RE
.PP
rdma resource show cm_id dst-port 7174
.RS 4
Show CM_IDs with destination ip port of 7174.
.RE
.PP
rdma resource show cm_id src-addr 172.16.0.100
.RS 4
Show CM_IDs bound to local ip address 172.16.0.100
.RE
.PP
rdma resource show cq pid 30489
.RS 4
Show CQs belonging to pid 30489
.RE
.PP
rdma resource show ctx ctxn 1
.RS 4
Show contexts that have index equal to 1.
.RE
.PP
rdma resource show srq lqpn 5-7
.RS 4
Show SRQs that the QPs with lqpn 5-7 are associated with.
.RE
.PP

.SH SEE ALSO
.BR rdma (8),
.BR rdma-dev (8),
.BR rdma-link (8),
.BR rdma-statistic (8),
.br

.SH AUTHOR
Leon Romanovsky <leonro@mellanox.com>