netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/8] mlxsw: Add support for VxLAN with IPv6 underlay
@ 2021-12-14 14:25 Ido Schimmel
  2021-12-14 14:25 ` [PATCH net-next 1/8] mlxsw: spectrum: Add hash table for IPv6 address mapping Ido Schimmel
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Ido Schimmel @ 2021-12-14 14:25 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, amcohen, petrm, mlxsw, Ido Schimmel

So far, mlxsw only supported VxLAN with IPv4 underlay. This patchset
extends mlxsw to also support VxLAN with IPv6 underlay. The main
difference is related to the way IPv6 addresses are handled by the
device. See patch #1 for a detailed explanation.

Patch #1 creates a common hash table to store the mapping from IPv6
addresses to KVDL indexes. This table is useful for both IP-in-IP and
VxLAN tunnels with an IPv6 underlay.

Patch #2 converts the IP-in-IP code to use the new hash table.

Patches #3-#6 are preparations.

Patch #7 finally adds support for VxLAN with IPv6 underlay.

Patch #8 removes a test case that checked that VxLAN configurations with
IPv6 underlay are vetoed by the driver.

A follow-up patchset will add forwarding selftests.

Amit Cohen (8):
  mlxsw: spectrum: Add hash table for IPv6 address mapping
  mlxsw: spectrum_ipip: Use common hash table for IPv6 address mapping
  mlxsw: spectrum_nve_vxlan: Make VxLAN flags check per address family
  mlxsw: Split handling of FDB tunnel entries between address families
  mlxsw: reg: Add a function to fill IPv6 unicast FDB entries
  mlxsw: spectrum_nve: Keep track of IPv6 addresses used by FDB entries
  mlxsw: Add support for VxLAN with IPv6 underlay
  selftests: mlxsw: vxlan: Remove IPv6 test case

 drivers/net/ethernet/mellanox/mlxsw/reg.h     |  30 +++-
 .../net/ethernet/mellanox/mlxsw/spectrum.c    | 143 +++++++++++++++
 .../net/ethernet/mellanox/mlxsw/spectrum.h    |  18 ++
 .../ethernet/mellanox/mlxsw/spectrum_ipip.c   |  28 +--
 .../ethernet/mellanox/mlxsw/spectrum_nve.c    | 165 +++++++++++++++++-
 .../ethernet/mellanox/mlxsw/spectrum_nve.h    |   2 +
 .../mellanox/mlxsw/spectrum_nve_vxlan.c       |  97 ++++++++--
 .../ethernet/mellanox/mlxsw/spectrum_router.c |  14 ++
 .../mellanox/mlxsw/spectrum_switchdev.c       | 127 +++++++++++---
 .../selftests/drivers/net/mlxsw/vxlan.sh      |  18 --
 10 files changed, 558 insertions(+), 84 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-12-15 15:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-14 14:25 [PATCH net-next 0/8] mlxsw: Add support for VxLAN with IPv6 underlay Ido Schimmel
2021-12-14 14:25 ` [PATCH net-next 1/8] mlxsw: spectrum: Add hash table for IPv6 address mapping Ido Schimmel
2021-12-14 14:25 ` [PATCH net-next 2/8] mlxsw: spectrum_ipip: Use common " Ido Schimmel
2021-12-14 14:25 ` [PATCH net-next 3/8] mlxsw: spectrum_nve_vxlan: Make VxLAN flags check per address family Ido Schimmel
2021-12-14 14:25 ` [PATCH net-next 4/8] mlxsw: Split handling of FDB tunnel entries between address families Ido Schimmel
2021-12-14 14:25 ` [PATCH net-next 5/8] mlxsw: reg: Add a function to fill IPv6 unicast FDB entries Ido Schimmel
2021-12-14 14:25 ` [PATCH net-next 6/8] mlxsw: spectrum_nve: Keep track of IPv6 addresses used by " Ido Schimmel
2021-12-14 14:25 ` [PATCH net-next 7/8] mlxsw: Add support for VxLAN with IPv6 underlay Ido Schimmel
2021-12-14 14:25 ` [PATCH net-next 8/8] selftests: mlxsw: vxlan: Remove IPv6 test case Ido Schimmel
2021-12-15 15:10 ` [PATCH net-next 0/8] mlxsw: Add support for VxLAN with IPv6 underlay patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).