]> git.proxmox.com Git - mirror_iproute2.git/blame - man/man8/rdma.8
rdma: Add batch command support
[mirror_iproute2.git] / man / man8 / rdma.8
CommitLineData
dbc76eb6
LR
1.TH RDMA 8 "28 Mar 2017" "iproute2" "Linux"
2.SH NAME
3rdma \- RDMA tool
4.SH SYNOPSIS
5.sp
6.ad l
7.in +8
8.ti -8
9.B rdma
10.RI "[ " OPTIONS " ] " OBJECT " { " COMMAND " | "
11.BR help " }"
12.sp
13
486fe5f0
LR
14.ti -8
15.B rdma
16.RB "[ " -force " ] "
17.BI "-batch " filename
18.sp
19
dbc76eb6
LR
20.ti -8
21.IR OBJECT " := { "
22.BR dev " | " link " }"
23.sp
24
25.ti -8
26.IR OPTIONS " := { "
27\fB\-V\fR[\fIersion\fR] |
28\fB\-d\fR[\fIetails\fR] }
29\fB\-j\fR[\fIson\fR] }
30\fB\-p\fR[\fIretty\fR] }
31
32.SH OPTIONS
33
34.TP
35.BR "\-V" , " -Version"
36Print the version of the
37.B rdma
38tool and exit.
39
486fe5f0
LR
40.TP
41.BR "\-b", " \-batch " <FILENAME>
42Read commands from provided file or standard input and invoke them.
43First failure will cause termination of rdma.
44
45.TP
46.BR "\-force"
47Don't terminate rdma on errors in batch mode.
48If there were any errors during execution of the commands, the application return code will be non zero.
49
dbc76eb6
LR
50.TP
51.BR "\-d" , " --details"
52Otuput detailed information.
53
54.TP
55.BR "\-p" , " --pretty"
56When combined with -j generate a pretty JSON output.
57
58.TP
59.BR "\-j" , " --json"
60Generate JSON output.
61
62.SS
63.I OBJECT
64
65.TP
66.B dev
67- RDMA device.
68
69.TP
70.B link
71- RDMA port related.
72
73.PP
74The names of all objects may be written in full or
75abbreviated form, for example
76.B stats
77can be abbreviated as
78.B stat
79or just
80.B s.
81
82.SS
83.I COMMAND
84
85Specifies the action to perform on the object.
86The set of possible actions depends on the object type.
87As a rule, it is possible to
88.B show
89(or
90.B list
91) objects, but some objects do not allow all of these operations
92or have some additional commands. The
93.B help
94command is available for all objects. It prints
95out a list of available commands and argument syntax conventions.
96.sp
97If no command is given, some default command is assumed.
98Usually it is
99.B list
100or, if the objects of this class cannot be listed,
101.BR "help" .
102
103.SH EXIT STATUS
104Exit status is 0 if command was successful or a positive integer upon failure.
105
106.SH SEE ALSO
107.BR rdma-dev (8),
108.BR rdma-link (8),
109.br
110
111.SH REPORTING BUGS
112Report any bugs to the Linux RDMA mailing list
113.B <linux-rdma@vger.kernel.org>
114where the development and maintenance is primarily done.
115You do not have to be subscribed to the list to send a message there.
116
117.SH AUTHOR
118Leon Romanovsky <leonro@mellanox.com>