This patchset adds support for VXLAN tunneling on the Spectrum-2 ASIC.
Spectrum-1 and Spectrum-2 are largely backward compatible in this area,
so not too many changes are required.

Patches #1-#2 expose a function and perform small refactoring towards
the actual Spectrum-2 implementation in patches #3-#4.

Patch #3 adds the required initialization steps on Spectrum-2.

Patch #4 finally enables VXLAN on Spectrum-2.

Ido Schimmel (4):
  mlxsw: spectrum: Expose functions to create and destroy underlay RIF
  mlxsw: spectrum_nve: Breakout common code to a common function
  mlxsw: spectrum_nve: Add support for VXLAN on Spectrum-2
  mlxsw: spectrum_nve: Enable VXLAN on Spectrum-2

 .../net/ethernet/mellanox/mlxsw/spectrum.h    |   3 +
 .../ethernet/mellanox/mlxsw/spectrum_nve.h    |   1 +
 .../mellanox/mlxsw/spectrum_nve_vxlan.c       | 151 +++++++++++++++---
 .../ethernet/mellanox/mlxsw/spectrum_router.c |  28 ++++
 4 files changed, 162 insertions(+), 21 deletions(-)

-- 
2.20.1

Reply via email to