mlxsw: spectrum_router: Extract mlxsw_sp_netdevice_ipip_can_offload()
authorPetr Machata <petrm@mellanox.com>
Fri, 3 Nov 2017 09:03:30 +0000 (10:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Nov 2017 00:15:17 +0000 (09:15 +0900)
commitcafdb2a0d4216c694971a06edf26029a08026ba4
treeb9ef071143ce367915fd3e80cfbf6f58e5e5267f
parent796ec7769d452fd75a3afca3d768f25c120b6c50
mlxsw: spectrum_router: Extract mlxsw_sp_netdevice_ipip_can_offload()

Some of the code down the road needs this logic as well.

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>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c