]> git.baikalelectronics.ru Git - kernel.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)
commit94dd77ad4253f9f951225b9faeb66350e0ee6e98
treeab56af16586af0dd02312490115e2046cf23cf5c
parent566168b3e86ef02c3463f2de5622d8f75bf01dd2
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