diff options
author | Petr Machata | 2018-12-07 20:55:11 +0100 |
---|---|---|
committer | David S. Miller | 2018-12-07 21:59:08 +0100 |
commit | 34139ede051ea8a10643c615076cb9dadc2a0942 (patch) | |
tree | 5d1282f8dea30d4199dbd37d21e60105024929c7 /drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c | |
parent | mlxsw: spectrum: Track NVE type at FIDs (diff) | |
download | kernel-qcow2-linux-34139ede051ea8a10643c615076cb9dadc2a0942.tar.gz kernel-qcow2-linux-34139ede051ea8a10643c615076cb9dadc2a0942.tar.xz kernel-qcow2-linux-34139ede051ea8a10643c615076cb9dadc2a0942.zip |
mlxsw: spectrum_switchdev: Publish mlxsw_sp_switchdev_notifier
The notifier block will need to be passed to vxlan_fdb_replay() in a
follow-up patch.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c index 7c38231bbd89..402f652cbf1b 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c @@ -3186,7 +3186,7 @@ err_addr_alloc: return NOTIFY_BAD; } -static struct notifier_block mlxsw_sp_switchdev_notifier = { +struct notifier_block mlxsw_sp_switchdev_notifier = { .notifier_call = mlxsw_sp_switchdev_event, }; |