]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Move handling of tunnel events to router code
authorPetr Machata <petrm@nvidia.com>
Sun, 8 May 2022 08:08:19 +0000 (11:08 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 May 2022 10:46:20 +0000 (11:46 +0100)
commit93d3be05f761bc0492be64beb4252333a3f98af2
treec93f579a46fa5b9f293024d89f0fa68e14d09da8
parent99a93fb2ff64b8fddf9c99936ea0d6b765f66c3f
mlxsw: spectrum: Move handling of tunnel events to router code

The events related to IPIP tunnels are handled by the router code. Move the
handling from the central dispatcher in spectrum.c to the new notifier
handler in the router module.

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