DEVLINK-PORT(8) | Linux | DEVLINK-PORT(8) |
devlink-port - devlink port configuration
devlink [ OPTIONS ] port { COMMAND | help }
OPTIONS := { -V[ersion] | -n[no-nice-names] }
devlink port set DEV/PORT_INDEX [ type { eth | ib | auto } ]
devlink port split DEV/PORT_INDEX count COUNT
devlink port unsplit DEV/PORT_INDEX
devlink port show [ DEV/PORT_INDEX ]
devlink port help
DEV/PORT_INDEX - specifies the devlink port to operate on.
Format is:
BUS_NAME/BUS_ADDRESS/PORT_INDEX
eth - Ethernet
ib - Infiniband
auto - autoselect
DEV/PORT_INDEX - specifies the devlink port to operate on.
Could be performed on any split port of the same split group.
DEV/PORT_INDEX - specifies the devlink port to operate on.
DEV/PORT_INDEX - specifies the devlink port to show. If this argument is omitted all ports are listed.
devlink port show
devlink port show pci/0000:01:00.0/1
devlink port set pci/0000:01:00.0/1 type eth
devlink port split pci/0000:01:00.0/1 count 4
devlink port unsplit pci/0000:01:00.0/1
devlink(8), devlink-dev(8), devlink-sb(8), devlink-monitor(8),
Jiri Pirko <jiri@mellanox.com>
14 Mar 2016 | iproute2 |