1DEVLINK-PORT(8) Linux DEVLINK-PORT(8)
2
3
4
6 devlink-port - devlink port configuration
7
9 devlink [ OPTIONS ] port { COMMAND | help }
10
11
12 OPTIONS := { -V[ersion] | -n[no-nice-names] }
13
14 devlink port set DEV/PORT_INDEX [ type { eth | ib | auto } ]
15
16 devlink port split DEV/PORT_INDEX count COUNT
17
18 devlink port unsplit DEV/PORT_INDEX
19
20 devlink port show [ DEV/PORT_INDEX ]
21
22 devlink port health { show | recover | diagnose | dump | set }
23
24 devlink port help
25
26
28 devlink port set - change devlink port attributes
29 DEV/PORT_INDEX - specifies the devlink port to operate on.
30
31 Format is:
32 BUS_NAME/BUS_ADDRESS/PORT_INDEX
33
34
35 type { eth | ib | auto }
36 set port type
37
38 eth - Ethernet
39
40 ib - Infiniband
41
42 auto - autoselect
43
44
45 devlink port split - split devlink port into more
46 DEV/PORT_INDEX - specifies the devlink port to operate on.
47
48
49 count COUNT
50 number of ports to split to.
51
52
53 devlink port unsplit - unsplit previously split devlink port
54 Could be performed on any split port of the same split group.
55
56
57 DEV/PORT_INDEX - specifies the devlink port to operate on.
58
59
60 devlink port show - display devlink port attributes
61 DEV/PORT_INDEX - specifies the devlink port to show. If this argument
62 is omitted all ports are listed.
63
64
65 devlink port health - devlink health reporting and recovery
66 Is an alias for devlink-health(8).
67
68
70 devlink port show
71 Shows the state of all devlink ports on the system.
72
73 devlink port show pci/0000:01:00.0/1
74 Shows the state of specified devlink port.
75
76 devlink port set pci/0000:01:00.0/1 type eth
77 Set type of specified devlink port to Ethernet.
78
79 devlink port split pci/0000:01:00.0/1 count 4
80 Split the specified devlink port into four ports.
81
82 devlink port unsplit pci/0000:01:00.0/1
83 Unplit the specified previously split devlink port.
84
85 devlink port health show
86 Shows status and configuration of all supported reporters regisā
87 tered on all devlink ports.
88
89 devlink port health show pci/0000:01:00.0/1 reporter tx
90 Shows status and configuration of tx reporter registered on
91 pci/0000:01:00.0/1 devlink port.
92
93
95 devlink(8), devlink-dev(8), devlink-sb(8), devlink-monitor(8), devlink-
96 health(8),
97
98
100 Jiri Pirko <jiri@mellanox.com>
101
102
103
104iproute2 14 Mar 2016 DEVLINK-PORT(8)