other versions
- stretch 4.9.0-1+deb9u1
- testing 4.20.0-2
- stretch-backports 4.20.0-2~bpo9+1
- unstable 4.20.0-2
- experimental 5.1.0-1
DEVLINK-DEV(8) | Linux | DEVLINK-DEV(8) |
NAME¶
devlink-dev - devlink device configurationSYNOPSIS¶
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¶
devlink dev show - display devlink device attributes¶
DEV - specifies the devlink device to show. If this argument is omitted all devices are listed.
Format is:
BUS_NAME/BUS_ADDRESS
devlink dev eswitch show - display devlink device eswitch attributes¶
devlink dev eswitch set - sets devlink device eswitch attributes¶
- mode { legacy | switchdev }
- set eswitch mode
legacy - Legacy SRIOV
switchdev - SRIOV switchdev offloads
EXAMPLES¶
devlink dev showShows 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>14 Mar 2016 | iproute2 |