diff options
author | Petr Machata <petrm@mellanox.com> | 2017-09-02 23:49:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-03 20:23:26 -0700 |
commit | ee954d1a91b2bb71defb17697f0a2263f46235d2 (patch) | |
tree | 9fc786422be9898196f6584b1d08204e516faea9 /drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h | |
parent | 92107cfb411f5371bee56d9a13d28ef8b40bbbbc (diff) | |
download | linux-stable-ee954d1a91b2bb71defb17697f0a2263f46235d2.tar.gz linux-stable-ee954d1a91b2bb71defb17697f0a2263f46235d2.tar.bz2 linux-stable-ee954d1a91b2bb71defb17697f0a2263f46235d2.zip |
mlxsw: spectrum_router: Support GRE tunnels
This patch introduces callbacks and tunnel type to offload GRE tunnels.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h index cd986bde856a..1c2db831d83b 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h @@ -39,6 +39,7 @@ #include <net/ip_fib.h> enum mlxsw_sp_ipip_type { + MLXSW_SP_IPIP_TYPE_GRE4, MLXSW_SP_IPIP_TYPE_MAX, }; |