Blame man/man8/devlink.8

Packit Service 3880ab
.TH DEVLINK 8 "14 Mar 2016" "iproute2" "Linux"
Packit Service 3880ab
.SH NAME
Packit Service 3880ab
devlink \- Devlink tool
Packit Service 3880ab
.SH SYNOPSIS
Packit Service 3880ab
.sp
Packit Service 3880ab
.ad l
Packit Service 3880ab
.in +8
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B devlink
Packit Service 3880ab
.RI "[ " OPTIONS " ] { " dev | port | monitor | sb | resource | region | health | trap " } { " COMMAND " | "
Packit Service 3880ab
.BR help " }"
Packit Service 3880ab
.sp
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B devlink
Packit Service 3880ab
.RB "[ " -force " ] "
Packit Service 3880ab
.BI "-batch " filename
Packit Service 3880ab
.sp
Packit Service 3880ab
Packit Service 3880ab
.SH OPTIONS
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.BR "\-V" , " --Version"
Packit Service 3880ab
Print the version of the
Packit Service 3880ab
.B devlink
Packit Service 3880ab
utility and exit.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.BR "\-b", " \-batch " <FILENAME>
Packit Service 3880ab
Read commands from provided file or standard input and invoke them.
Packit Service 3880ab
First failure will cause termination of devlink.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.B \-force
Packit Service 3880ab
Don't terminate devlink on errors in batch mode.
Packit Service 3880ab
If there were any errors during execution of the commands, the application return code will be non zero.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.BR "\-n" , " --no-nice-names"
Packit Service 3880ab
Turn off printing out nice names, for example netdevice ifnames instead of devlink port identification.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.BR "\-j" , " --json"
Packit Service 3880ab
Generate JSON output.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.BR "\-p" , " --pretty"
Packit Service 3880ab
When combined with -j generate a pretty JSON output.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.BR "\-v" , " --verbose"
Packit Service 3880ab
Turn on verbose output.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.BR "\-s" , " --statistics"
Packit Service 3880ab
Output statistics.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.BR "\-N", " \-Netns " <NETNSNAME>
Packit Service 3880ab
Switches to the specified network namespace.
Packit Service 3880ab
Packit Service 3880ab
.SS
Packit Service 3880ab
.I OBJECT
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.B dev
Packit Service 3880ab
- devlink device.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.B port
Packit Service 3880ab
- devlink port.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.B monitor
Packit Service 3880ab
- watch for netlink messages.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.B sb
Packit Service 3880ab
- devlink shared buffer configuration.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.B resource
Packit Service 3880ab
- devlink device resource configuration.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.B region
Packit Service 3880ab
- devlink address region access
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.B health
Packit Service 3880ab
- devlink reporting and recovery
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.B trap
Packit Service 3880ab
- devlink trap configuration
Packit Service 3880ab
Packit Service 3880ab
.SS
Packit Service 3880ab
.I COMMAND
Packit Service 3880ab
Packit Service 3880ab
Specifies the action to perform on the object.
Packit Service 3880ab
The set of possible actions depends on the object type.
Packit Service 3880ab
As a rule, it is possible to
Packit Service 3880ab
.B show
Packit Service 3880ab
(or
Packit Service 3880ab
.B list
Packit Service 3880ab
) objects, but some objects do not allow all of these operations
Packit Service 3880ab
or have some additional commands. The
Packit Service 3880ab
.B help
Packit Service 3880ab
command is available for all objects. It prints
Packit Service 3880ab
out a list of available commands and argument syntax conventions.
Packit Service 3880ab
.sp
Packit Service 3880ab
If no command is given, some default command is assumed.
Packit Service 3880ab
Usually it is
Packit Service 3880ab
.B list
Packit Service 3880ab
or, if the objects of this class cannot be listed,
Packit Service 3880ab
.BR "help" .
Packit Service 3880ab
Packit Service 3880ab
.SH EXIT STATUS
Packit Service 3880ab
Exit status is 0 if command was successful or a positive integer upon failure.
Packit Service 3880ab
Packit Service 3880ab
.SH SEE ALSO
Packit Service 3880ab
.BR devlink-dev (8),
Packit Service 3880ab
.BR devlink-port (8),
Packit Service 3880ab
.BR devlink-monitor (8),
Packit Service 3880ab
.BR devlink-sb (8),
Packit Service 3880ab
.BR devlink-resource (8),
Packit Service 3880ab
.BR devlink-region (8),
Packit Service 3880ab
.BR devlink-health (8),
Packit Service 3880ab
.BR devlink-trap (8),
Packit Service 3880ab
.br
Packit Service 3880ab
Packit Service 3880ab
.SH REPORTING BUGS
Packit Service 3880ab
Report any bugs to the Network Developers mailing list
Packit Service 3880ab
.B <netdev@vger.kernel.org>
Packit Service 3880ab
where the development and maintenance is primarily done.
Packit Service 3880ab
You do not have to be subscribed to the list to send a message there.
Packit Service 3880ab
Packit Service 3880ab
.SH AUTHOR
Packit Service 3880ab
Jiri Pirko <jiri@mellanox.com>