devlink-port — devlink port configuration

Synopsis

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

Description

Examples

devlink port show

Shows the state of all devlink ports on the system.

devlink port show pci/0000:01:00.0/1

Shows the state of specified devlink port.

devlink port set pci/0000:01:00.0/1 type eth

Set type of specified devlink port to Ethernet.

devlink port split pci/0000:01:00.0/1 count 4

Split the specified devlink port into four ports.

devlink port unsplit pci/0000:01:00.0/1

Unplit the specified previously split devlink port.

See Also

devlink(8), devlink-dev(8), devlink-sb(8), devlink-monitor(8),

Author

Jiri Pirko <jiri@mellanox.com>

Referenced By

devlink(8), devlink-dev(8), devlink-health(8), devlink-monitor(8), devlink-region(8), devlink-resource(8), devlink-sb(8).

14 Mar 2016 iproute2 Linux