1RDMA-RESOURCE(8)                     Linux                    RDMA-RESOURCE(8)
2
3
4

NAME

6       rdma-resource - rdma resource configuration
7

SYNOPSIS

9       rdma [ OPTIONS ] RESOURCE { COMMAND | help }
10
11
12       RESOURCE := { cm_id | cq | mr | pd | qp | ctx | srq }
13
14
15       OPTIONS := { -j[son] | -d[etails] }
16
17       rdma resource show [ DEV/PORT_INDEX ]
18
19       rdma resource help
20
21

DESCRIPTION

23   rdma resource show - display rdma resource tracking information
24       DEV/PORT_INDEX - specifies the RDMA link to show.  If this argument is
25       omitted all links are listed.
26
27

EXAMPLES

29       rdma resource show
30           Shows summary for all devices on the system.
31
32       rdma resource show mlx5_2
33           Shows the state of specified rdma device.
34
35       rdma res show qp link mlx5_4
36           Get all QPs for the specific device.
37
38       rdma res show qp link mlx5_4/1
39           Get QPs of specific port.
40
41       rdma res show qp link mlx5_4/0
42           Provide illegal port number (0 is illegal).
43
44       rdma res show qp link mlx5_4/-
45           Get QPs which have not assigned port yet.
46
47       rdma res show qp link mlx5_4/- -d
48           Detailed view.
49
50       rdma res show qp link mlx5_4/- -dd
51           Detailed view including driver-specific details.
52
53       rdma res show qp link mlx5_4/1 lqpn 0-6
54           Limit to specific Local QPNs.
55
56       rdma res show qp link mlx5_4/1 lqpn 6 -r
57           Driver specific details in raw format.
58
59       rdma resource show cm_id dst-port 7174
60           Show CM_IDs with destination ip port of 7174.
61
62       rdma resource show cm_id src-addr 172.16.0.100
63           Show CM_IDs bound to local ip address 172.16.0.100
64
65       rdma resource show cq pid 30489
66           Show CQs belonging to pid 30489
67
68       rdma resource show ctx ctxn 1
69           Show contexts that have index equal to 1.
70
71       rdma resource show srq lqpn 5-7
72           Show SRQs that the QPs with lqpn 5-7 are associated with.
73

SEE ALSO

75       rdma(8), rdma-dev(8), rdma-link(8), rdma-statistic(8),
76
77

AUTHOR

79       Leon Romanovsky <leonro@mellanox.com>
80
81
82
83iproute2                          26 Dec 2017                 RDMA-RESOURCE(8)
Impressum