mlxsw: reg: Add support for ritr_loopback_ipip6_pack()
authorAmit Cohen <amcohen@nvidia.com>
Thu, 23 Sep 2021 12:36:55 +0000 (15:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Sep 2021 09:26:52 +0000 (10:26 +0100)
commit36c2ab890b8fed2136ab86e24dcc2097d933cde3
tree1ae3c5c752d2af489e8a3bed74d40e5acebe56f9
parentc729ae8d6cbccfd70d8f209504f3d6f71df81351
mlxsw: reg: Add support for ritr_loopback_ipip6_pack()

The RITR register is used to configure the router interface table.

For IP-in-IP, it stores the underlay source IP address for encapsulation
and also the ingress RIF for the underlay lookup.

Add support for IPv6 IP-in-IP configuration.

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