from small one page howto to huge articles all in one place
 

search text in:





Poll
Which kernel version do you use?





poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

196714

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

252324

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

141294

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





DEVLINK\-DEV

Section: Linux (8)
Updated: 14 Mar 2016
Index Return to Main Contents
 

NAME

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 } ] [ inline-mode { none | link | network | transport } ] [ encap { disable | enable } ]


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

inline-mode { none | link | network | transport }
Some HWs need the VF driver to put part of the packet headers on the TX descriptor so the e-switch can do proper matching and steering.

none - None

link - L2 mode

network - L3 mode

transport - L4 mode

encap { disable | enable }
Set eswitch encapsulation support

disable - Disable encapsulation support

enable - Enable encapsulation support

 

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>


 

Index

NAME
SYNOPSIS
DESCRIPTION
devlink dev show - display devlink device attributes
devlink dev eswitch show - display devlink device eswitch attributes
devlink dev eswitch set - sets devlink device eswitch attributes
EXAMPLES
SEE ALSO
AUTHOR





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 22.9 ms