]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93c901422563657f7091177aeea1442c12c5e376
tree7620e490dfb8ff415ef1c304c97362ce7ab69b3c
parent6dd9cd39c3b6bc72ed7f2c95012d2e2fc4c6c445
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