]> git.proxmox.com Git - mirror_iproute2.git/blob - man/man8/rdma-dev.8
bridge: mdb: add support for source address
[mirror_iproute2.git] / man / man8 / rdma-dev.8
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 help
45
46 .SH "DESCRIPTION"
47 .SS rdma dev set - rename RDMA device or set network namespace or set RDMA device adaptive-moderation
48
49 .SS rdma dev show - display RDMA device attributes
50
51 .PP
52 .I "DEV"
53 - specifies the RDMA device to show.
54 If this argument is omitted all devices are listed.
55
56 .SH "EXAMPLES"
57 .PP
58 rdma dev
59 .RS 4
60 Shows the state of all RDMA devices on the system.
61 .RE
62 .PP
63 rdma dev show mlx5_3
64 .RS 4
65 Shows the state of specified RDMA device.
66 .RE
67 .PP
68 rdma dev set mlx5_3 name rdma_0
69 .RS 4
70 Renames the mlx5_3 device to rdma_0.
71 .RE
72 .PP
73 rdma dev set mlx5_3 netns foo
74 .RS 4
75 Changes the network namespace of RDMA device to foo where foo is
76 previously created using iproute2 ip command.
77 .RE
78 .PP
79 rdma dev set mlx5_3 adaptive-moderation [on/off]
80 .RS 4
81 Sets the state of adaptive interrupt moderation for the RDMA device.
82 .RE
83 .RS 4
84 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.
85 .RE
86 .PP
87
88 .SH SEE ALSO
89 .BR ip (8),
90 .BR rdma (8),
91 .BR rdma-link (8),
92 .BR rdma-resource (8),
93 .BR rdma-system (8),
94 .BR rdma-statistic (8),
95 .br
96
97 .SH AUTHOR
98 Leon Romanovsky <leonro@mellanox.com>