from:  Roi Dayan <r...@mellanox.com>

Add an e-switch global knob to enable/disable HW support for applying
encapsulation/decapsulation to VF traffic as part of SRIOV e-switch 
offloading which is controlled with devlink. Support that in mlx5.

Dave, the series is rebased over the cleanup series Jiri sent earlier today [1]

Or.

[1] http://marc.info/?l=linux-netdev&m=148665219924363&w=2

Roi Dayan (2):
  net/devlink: Add E-Switch encapsulation control
  net/mlx5: E-Switch, Add control for encapsulation

 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c  |  1 +
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h  |  3 ++
 .../ethernet/mellanox/mlx5/core/eswitch_offloads.c | 41 ++++++++++++++++++++--
 drivers/net/ethernet/mellanox/mlx5/core/main.c     |  2 ++
 include/net/devlink.h                              |  2 ++
 include/uapi/linux/devlink.h                       |  1 +
 net/core/devlink.c                                 | 22 ++++++++++++
 7 files changed, 70 insertions(+), 2 deletions(-)

-- 
2.5.5

Reply via email to