This patchset prepares mlxsw for VxLAN support. It contains small and
mostly non-functional changes.

The first eight patches perform small changes in the code to make it
more receptive towards the actual VxLAN changes in the next patchset.

Patches 9-17 add the registers used to configure the device for VxLAN
offload.

Last two patches add the required resources and trap IDs.

The next patchset is available here [1].

1. https://github.com/idosch/linux/tree/vxlan

Ido Schimmel (19):
  mlxsw: spectrum: Remove misuses of private header file
  mlxsw: spectrum_switchdev: Prepare for VxLAN FDB notifications
  mlxsw: spectrum_switchdev: Check notification relevance based on upper
    device
  mlxsw: spectrum_switchdev: Do not assume notifier information type
  mlxsw: spectrum: Move L3 protocol and address definitions to global
    header file
  mlxsw: spectrum: Add a new type of KVD linear record
  mlxsw: reg: Extend FDB flush types for NVE
  mlxsw: spectrum: Seed LAG hash function
  mlxsw: reg: Add Tunneling NVE General Configuration Register
  mlxsw: reg: Add Tunnel Port Configuration Register
  mlxsw: reg: Add Tunneling NVE Underlay Multicast Table Register
  mlxsw: reg: Add Tunneling NVE Encapsulation ECN Mapping Register
  mlxsw: reg: Add Tunneling NVE Decapsulation ECN Mapping Register
  mlxsw: reg: Add Tunneling NVE QoS Configuration Register
  mlxsw: reg: Add Tunneling NVE QoS Default Register
  mlxsw: reg: Add definition of unicast tunnel record for SFD register
  mlxsw: reg: Add Monitoring Parsing State Register
  mlxsw: resources: Add NVE resources
  mlxsw: spectrum: Add NVE packet traps

 drivers/net/ethernet/mellanox/mlxsw/reg.h     | 581 +++++++++++++++++-
 .../net/ethernet/mellanox/mlxsw/resources.h   |   4 +
 .../net/ethernet/mellanox/mlxsw/spectrum.c    |   8 +-
 .../net/ethernet/mellanox/mlxsw/spectrum.h    |  17 +
 .../ethernet/mellanox/mlxsw/spectrum2_kvdl.c  |   1 +
 .../ethernet/mellanox/mlxsw/spectrum_router.h |  15 -
 .../mellanox/mlxsw/spectrum_switchdev.c       |  21 +-
 drivers/net/ethernet/mellanox/mlxsw/trap.h    |   2 +
 8 files changed, 627 insertions(+), 22 deletions(-)

-- 
2.17.1

Reply via email to