mlxsw: reg: Add Router IP version Six Register
authorAmit Cohen <amcohen@nvidia.com>
Thu, 23 Sep 2021 12:36:52 +0000 (15:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Sep 2021 09:26:51 +0000 (10:26 +0100)
commitdd8a9552d48482dbf3812489bfdec9486cce0cf4
tree7620e490dfb8ff415ef1c304c97362ce7ab69b3c
parent59bf980dd90f01b79f6f86a0368ff79a742a37e4
mlxsw: reg: Add Router IP version Six Register

The RIPS register is used to store IPv6 addresses for use by the NVE and
IP-in-IP.

For IPv6 underlay support, RATR register needs to hold a pointer to the
remote IPv6 address for encapsulation and RTDP register needs to hold a
pointer to the local IPv6 address for decapsulation check.

Add the required register for saving IPv6 addresses.

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/reg.h