diff options
author | 2022-12-07 13:36:44 +0100 | |
---|---|---|
committer | 2022-12-08 18:46:32 -0800 | |
commit | 5ca1b208c5d107fd4b9e7801200dea18ab1af8e7 (patch) | |
tree | 05bb74f2050c67a995147edae4c2cf210c98077d /net/core/sock.c | |
parent | mlxsw: spectrum_router: Parametrize RIF allocation size (diff) | |
download | wireguard-linux-5ca1b208c5d107fd4b9e7801200dea18ab1af8e7.tar.xz wireguard-linux-5ca1b208c5d107fd4b9e7801200dea18ab1af8e7.zip |
mlxsw: spectrum_router: Add support for double entry RIFs
In Spectrum-1, loopback router interfaces (RIFs) used for IP-in-IP
encapsulation with an IPv6 underlay require two RIF entries and the RIF
index must be even.
Prepare for this change by extending the RIF parameters structure with a
'double_entry' field that indicates if the RIF being created requires
two RIF entries or not. Only set it for RIFs representing ip6gre tunnels
in Spectrum-1.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions