Debian Codegraph @

upstream/debian-unstable/man8/rdma-dev.8

raw
1 .TH RDMA\-DEV 8 "06 Jul 2017" "iproute2" "Linux"
2 .SH NAME
3 rdma-dev \- RDMA device configuration
4 .SH SYNOPSIS
5 .sp
6 .ad l
7 .in +8
8 .ti -8
9 .B rdma
10 .RI "[ " OPTIONS " ]"
11 .B dev
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 dev show
23 .RI "[ " DEV " ]"
24
25 .ti -8
26 .B rdma dev set
27 .RI "[ " DEV " ]"
28 .BR name
29 .BR NEWNAME
30
31 .ti -8
32 .B rdma dev set
33 .RI "[ " DEV " ]"
34 .BR netns
35 .BR NSNAME
36
37 .ti -8
38 .B rdma dev set
39 .RI "[ " DEV " ]"
40 .BR adaptive-moderation
41 .BR [on/off]
42
43 .ti -8
44 .B rdma dev add
45 .RI "[ " NAME " ]"
46 .B type
47 .RI "[ " TYPE " ]"
48 .B parent
49 .RI "[ " PARENT_DEV " ]"
50
51 .ti -8
52 .B rdma dev delete
53 .RI "[ " NAME " ]"
54
55 .ti -8
56 .B rdma dev help
57
58 .SH "DESCRIPTION"
59 .SS rdma dev set - rename RDMA device or set network namespace or set RDMA device adaptive-moderation
60
61 .SS rdma dev show - display RDMA device attributes
62
63 .PP
64 .I "DEV"
65 - specifies the RDMA device to show.
66 If this argument is omitted all devices are listed.
67
68 .SS rdma dev add - add a RDMA device
69
70 Add a RDMA device with a specific type and parent IB device. This new device provides a subset of functionalities defined in the IBTA spec.
71
72 .SS rdma dev delete - delete a RDMA device
73
74 Delete a RDMA device which was created with the "add" command.
75 .I NAME
76 - The name of the device being added/deleted.
77
78 .I TYPE
79 - The type of the device being added. It specifies which functionalities it provides. Supported device type:
80 .sp
81 .in +8
82 .B SMI
83 - A device with this type provides SMI (QP0) interface. This device and its parent associates with the same HCA port and shares the physical link, so when the parent doesn't support SMI, then this type of device can be created to allow the subnet manager to configure the link.
84 .in -8
85
86 .I PARENT_DEV
87 - The name of its parent IB device.
88
89 .SH "EXAMPLES"
90 .PP
91 rdma dev
92 .RS 4
93 Shows the state of all RDMA devices on the system.
94 .RE
95 .PP
96 rdma dev show mlx5_3
97 .RS 4
98 Shows the state of the specified RDMA device.
99 .RE
100 .PP
101 rdma dev set mlx5_3 name rdma_0
102 .RS 4
103 Renames the mlx5_3 device to rdma_0.
104 .RE
105 .PP
106 rdma dev set mlx5_3 netns foo
107 .RS 4
108 Changes the network namespace of RDMA device to foo where foo was
109 previously created using the iproute2 ip command.
110 .RE
111 .PP
112 rdma dev set mlx5_3 adaptive-moderation [on/off]
113 .RS 4
114 Sets the state of adaptive interrupt moderation for the RDMA device.
115 .RE
116 .RS 4
117 This is a global setting for the RDMA device but the value is printed for each CQ individually because the state is constant from CQ allocation.
118 .RE
119 .PP
120 rdma dev add smi1 type SMI parent ibp8s0f1
121 .RS 4
122 Adds a new IB device with name "smi1", type "SMI", and "ibp8s0f1" as its parent device.
123 .RE
124 .PP
125 rdma dev delete smi1
126 .RS 4
127 Deletes the IB device "smi1".
128 .RE
129 .PP
130
131 .SH SEE ALSO
132 .BR ip (8),
133 .BR rdma (8),
134 .BR rdma-link (8),
135 .BR rdma-resource (8),
136 .BR rdma-system (8),
137 .BR rdma-statistic (8),
138 .br
139
140 .SH AUTHOR
141 Leon Romanovsky <[email protected]>
142 .br
143 Mark Zhang <[email protected]>