OSDN Git Service

mlxsw: Add IPV6_ADDRESS kvdl entry type
authorAmit Cohen <amcohen@nvidia.com>
Thu, 23 Sep 2021 12:36:58 +0000 (15:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Sep 2021 09:26:52 +0000 (10:26 +0100)
commit53eedd61dea9e4a64f2ede6b983c7de0df91392c
treee30ffd3dd50157cf3c759e63cd63a9f3f4481860
parent713e8502fd3e386e20db457dca5cc55862331bcd
mlxsw: Add IPV6_ADDRESS kvdl entry type

Add support for allocating and freeing KVD entries for IPv6 addresses.

These addresses are programmed by the RIPS register and referenced by
the RATR and RTDP registers for IPv6 underlay encapsulation and
decapsulation, respectively.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c