diff options
author | Or Gerlitz | 2016-07-01 13:51:01 +0200 |
---|---|---|
committer | David S. Miller | 2016-07-02 20:40:40 +0200 |
commit | 08f4b5918b2d6b491f0403cc1886f5cdccef89bb (patch) | |
tree | 35da396f43f718b63095c9e552ec4cfe26a27a6e /drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | |
parent | net/mlx5: E-Switch, Add API to create vport rx rules (diff) | |
download | kernel-qcow2-linux-08f4b5918b2d6b491f0403cc1886f5cdccef89bb.tar.gz kernel-qcow2-linux-08f4b5918b2d6b491f0403cc1886f5cdccef89bb.tar.xz kernel-qcow2-linux-08f4b5918b2d6b491f0403cc1886f5cdccef89bb.zip |
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 <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch.h')
0 files changed, 0 insertions, 0 deletions