devlink-dev man page

devlink-dev — devlink device configuration

Synopsis

devlink [ OPTIONS ] dev { COMMAND | help }
OPTIONS := { -V[ersion] | -n[no-nice-names] }
devlink dev show [ DEV ]
devlink dev help
devlink dev eswitch set DEV [ mode { legacy | switchdev } ]
devlink dev eswitch show DEV

Description

Examples

devlink dev show

Shows the state of all devlink devices on the system.

devlink dev show pci/0000:01:00.0

Shows the state of specified devlink device.

devlink dev eswitch show pci/0000:01:00.0

Shows the eswitch mode of specified devlink device.

devlink dev eswitch set pci/0000:01:00.0 mode switchdev

Sets the eswitch mode of specified devlink device to switchdev.

See Also

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

Author

Jiri Pirko <jiri@mellanox.com>

Referenced By

devlink(8), devlink-monitor(8), devlink-port(8), devlink-sb(8).

14 Mar 2016 iproute2 Linux