]> Git Repo - linux.git/commit
net/devlink: Add E-Switch mode control
authorOr Gerlitz <[email protected]>
Fri, 1 Jul 2016 11:51:01 +0000 (14:51 +0300)
committerDavid S. Miller <[email protected]>
Sat, 2 Jul 2016 18:40:40 +0000 (14:40 -0400)
commit08f4b5918b2d6b491f0403cc1886f5cdccef89bb
tree35da396f43f718b63095c9e552ec4cfe26a27a6e
parentfed9ce22bf8ae8f417b8f047d2d630542d152ccf
net/devlink: Add E-Switch mode control

Add the commands to set and show the mode of SRIOV E-Switch, two modes
are supported:

* legacy: operating in the "old" L2 based mode (DMAC --> VF vport)

* switchdev: the E-Switch is referred to as whitebox switch configured
using standard tools such as tc, bridge, openvswitch etc. To allow
working with the tools, for each VF, a VF representor netdevice is
created by the E-Switch manager vendor device driver instance (e.g PF).

Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/devlink.h
include/uapi/linux/devlink.h
net/core/devlink.c
This page took 0.045656 seconds and 4 git commands to generate.