Blame man/man8/devlink-port.8

Packit Service 3880ab
.TH DEVLINK\-PORT 8 "14 Mar 2016" "iproute2" "Linux"
Packit Service 3880ab
.SH NAME
Packit Service 3880ab
devlink-port \- devlink port configuration
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 " ]"
Packit Service 3880ab
.B port
Packit Service 3880ab
.RI  " { " COMMAND " | "
Packit Service 3880ab
.BR help " }"
Packit Service 3880ab
.sp
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.IR OPTIONS " := { "
Packit Service 3880ab
\fB\-V\fR[\fIersion\fR] |
Packit Service 3880ab
\fB\-n\fR[\fIno-nice-names\fR] }
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.BR "devlink port set "
Packit Service 3880ab
.IR DEV/PORT_INDEX
Packit Service 3880ab
.RI "[ "
Packit Service 3880ab
.BR type " { " eth " | " ib " | " auto " }"
Packit Service 3880ab
.RI "]"
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.BR "devlink port split "
Packit Service 3880ab
.IR DEV/PORT_INDEX
Packit Service 3880ab
.BR count
Packit Service 3880ab
.IR COUNT
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.BR "devlink port unsplit "
Packit Service 3880ab
.IR DEV/PORT_INDEX
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B devlink port show
Packit Service 3880ab
.RI "[ " DEV/PORT_INDEX " ]"
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B devlink port health
Packit Service 3880ab
.RI "{ " show " | " recover " | " diagnose " | " dump " | " set " }"
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B devlink port help
Packit Service 3880ab
Packit Service 3880ab
.SH "DESCRIPTION"
Packit Service 3880ab
.SS devlink port set - change devlink port attributes
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
.B "DEV/PORT_INDEX"
Packit Service 3880ab
- specifies the devlink port to operate on.
Packit Service 3880ab
Packit Service 3880ab
.in +4
Packit Service 3880ab
Format is:
Packit Service 3880ab
.in +2
Packit Service 3880ab
BUS_NAME/BUS_ADDRESS/PORT_INDEX
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.BR type " { " eth " | " ib " | " auto " } "
Packit Service 3880ab
set port type
Packit Service 3880ab
Packit Service 3880ab
.I eth
Packit Service 3880ab
- Ethernet
Packit Service 3880ab
Packit Service 3880ab
.I ib
Packit Service 3880ab
- Infiniband
Packit Service 3880ab
Packit Service 3880ab
.I auto
Packit Service 3880ab
- autoselect
Packit Service 3880ab
Packit Service 3880ab
.SS devlink port split - split devlink port into more
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
.B "DEV/PORT_INDEX"
Packit Service 3880ab
- specifies the devlink port to operate on.
Packit Service 3880ab
Packit Service 3880ab
.TP
Packit Service 3880ab
.BI count " COUNT"
Packit Service 3880ab
number of ports to split to.
Packit Service 3880ab
Packit Service 3880ab
.SS devlink port unsplit - unsplit previously split devlink port
Packit Service 3880ab
Could be performed on any split port of the same split group.
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
.B "DEV/PORT_INDEX"
Packit Service 3880ab
- specifies the devlink port to operate on.
Packit Service 3880ab
Packit Service 3880ab
.SS devlink port show - display devlink port attributes
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
.I "DEV/PORT_INDEX"
Packit Service 3880ab
- specifies the devlink port to show.
Packit Service 3880ab
If this argument is omitted all ports are listed.
Packit Service 3880ab
Packit Service 3880ab
.SS devlink port health - devlink health reporting and recovery
Packit Service 3880ab
Is an alias for
Packit Service 3880ab
.BR devlink-health (8).
Packit Service 3880ab
Packit Service 3880ab
.SH "EXAMPLES"
Packit Service 3880ab
.PP
Packit Service 3880ab
devlink port show
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Shows the state of all devlink ports on the system.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
devlink port show pci/0000:01:00.0/1
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Shows the state of specified devlink port.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
devlink port set pci/0000:01:00.0/1 type eth
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Set type of specified devlink port to Ethernet.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
devlink port split pci/0000:01:00.0/1 count 4
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Split the specified devlink port into four ports.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
devlink port unsplit pci/0000:01:00.0/1
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Unplit the specified previously split devlink port.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
devlink port health show
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Shows status and configuration of all supported reporters registered on all devlink ports.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
devlink port health show pci/0000:01:00.0/1 reporter tx
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Shows status and configuration of tx reporter registered on pci/0000:01:00.0/1 devlink port.
Packit Service 3880ab
.RE
Packit Service 3880ab
Packit Service 3880ab
.SH SEE ALSO
Packit Service 3880ab
.BR devlink (8),
Packit Service 3880ab
.BR devlink-dev (8),
Packit Service 3880ab
.BR devlink-sb (8),
Packit Service 3880ab
.BR devlink-monitor (8),
Packit Service 3880ab
.BR devlink-health (8),
Packit Service 3880ab
.br
Packit Service 3880ab
Packit Service 3880ab
.SH AUTHOR
Packit Service 3880ab
Jiri Pirko <jiri@mellanox.com>