mbox series

[net-next,0/4] mlxsw: Add VXLAN support for Spectrum-2

Message ID 20190123143217.17735-1-idosch@mellanox.com
Headers show
Series mlxsw: Add VXLAN support for Spectrum-2 | expand

Message

Ido Schimmel Jan. 23, 2019, 2:32 p.m. UTC
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(-)

Comments

David Miller Jan. 23, 2019, 5:28 p.m. UTC | #1
From: Ido Schimmel <idosch@mellanox.com>
Date: Wed, 23 Jan 2019 14:32:53 +0000

> 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.

Series applied, thanks!