]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net/devlink: Add E-Switch encapsulation control
authorRoi Dayan <roid@mellanox.com>
Sun, 25 Sep 2016 10:52:44 +0000 (13:52 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 22 Apr 2017 17:26:37 +0000 (20:26 +0300)
commitf43e9b069aeaf0f3d51fa30ddc9c0003e86623b8
treeab56af16586af0dd02312490115e2046cf23cf5c
parentfb796707d7a6c9b24fdf80b9b4f24fa5ffcf0ec5
net/devlink: Add E-Switch encapsulation control

This is an e-switch global knob to enable HW support for applying
encapsulation/decapsulation to VF traffic as part of SRIOV e-switch offloading.

The actual encap/decap is carried out (along with the matching and other actions)
per offloaded e-switch rules, e.g as done when offloading the TC tunnel key action.

Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
include/net/devlink.h
include/uapi/linux/devlink.h
net/core/devlink.c