1 .TH DEVLINK\-PORT 8 "14 Mar 2016" "iproute2" "Linux"
3 devlink-port \- devlink port configuration
12 .RI " { " COMMAND " | "
18 \fB\-V\fR[\fIersion\fR] |
19 \fB\-n\fR[\fIno-nice-names\fR] }
22 .BR "devlink port set "
25 .BR type " { " eth " | " ib " | " auto " }"
29 .BR "devlink port split "
35 .BR "devlink port unsplit "
40 .RI "[ " DEV/PORT_INDEX " ]"
43 .B devlink port health
44 .RI "{ " show " | " recover " | " diagnose " | " dump " | " set " }"
50 .SS devlink port set - change devlink port attributes
54 - specifies the devlink port to operate on.
59 BUS_NAME/BUS_ADDRESS/PORT_INDEX
62 .BR type " { " eth " | " ib " | " auto " } "
74 .SS devlink port split - split devlink port into more
78 - specifies the devlink port to operate on.
82 number of ports to split to.
84 .SS devlink port unsplit - unsplit previously split devlink port
85 Could be performed on any split port of the same split group.
89 - specifies the devlink port to operate on.
91 .SS devlink port show - display devlink port attributes
95 - specifies the devlink port to show.
96 If this argument is omitted all ports are listed.
98 .SS devlink port health - devlink health reporting and recovery
100 .BR devlink-health (8).
106 Shows the state of all devlink ports on the system.
109 devlink port show pci/0000:01:00.0/1
111 Shows the state of specified devlink port.
114 devlink port set pci/0000:01:00.0/1 type eth
116 Set type of specified devlink port to Ethernet.
119 devlink port split pci/0000:01:00.0/1 count 4
121 Split the specified devlink port into four ports.
124 devlink port unsplit pci/0000:01:00.0/1
126 Unplit the specified previously split devlink port.
129 devlink port health show
131 Shows status and configuration of all supported reporters registered on all devlink ports.
134 devlink port health show pci/0000:01:00.0/1 reporter tx
136 Shows status and configuration of tx reporter registered on pci/0000:01:00.0/1 devlink port.
143 .BR devlink-monitor (8),
144 .BR devlink-health (8),
148 Jiri Pirko <jiri@mellanox.com>