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 help
23
24
26 devlink port set - change devlink port attributes
27 DEV/PORT_INDEX - specifies the devlink port to operate on.
28
29 Format is:
30 BUS_NAME/BUS_ADDRESS/PORT_INDEX
31
32
33 type { eth | ib | auto }
34 set port type
35
36 eth - Ethernet
37
38 ib - Infiniband
39
40 auto - autoselect
41
42
43 devlink port split - split devlink port into more
44 DEV/PORT_INDEX - specifies the devlink port to operate on.
45
46
47 count COUNT
48 number of ports to split to.
49
50
51 devlink port unsplit - unsplit previously split devlink port
52 Could be performed on any split port of the same split group.
53
54
55 DEV/PORT_INDEX - specifies the devlink port to operate on.
56
57
58 devlink port show - display devlink port attributes
59 DEV/PORT_INDEX - specifies the devlink port to show. If this argument
60 is omitted all ports are listed.
61
62
64 devlink port show
65 Shows the state of all devlink ports on the system.
66
67 devlink port show pci/0000:01:00.0/1
68 Shows the state of specified devlink port.
69
70 devlink port set pci/0000:01:00.0/1 type eth
71 Set type of specified devlink port to Ethernet.
72
73 devlink port split pci/0000:01:00.0/1 count 4
74 Split the specified devlink port into four ports.
75
76 devlink port unsplit pci/0000:01:00.0/1
77 Unplit the specified previously split devlink port.
78
79
81 devlink(8), devlink-dev(8), devlink-sb(8), devlink-monitor(8),
82
83
85 Jiri Pirko <jiri@mellanox.com>
86
87
88
89iproute2 14 Mar 2016 DEVLINK-PORT(8)