]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: router: Don't ignore IPMR notifications
authorYotam Gigi <yotamg@mellanox.com>
Wed, 27 Sep 2017 06:23:22 +0000 (08:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Sep 2017 18:33:28 +0000 (11:33 -0700)
commit00c2b226e1e316820ce76ada30546110213333e0
treec3a44a2af57194c8b5a5847bd880e27d1e285c2e
parentc3292cb9c433cbba0b5a2ddd9053389cbd51ec18
mlxsw: spectrum: router: Don't ignore IPMR notifications

Make the Spectrum router logic not ignore the RTNL_FAMILY_IPMR FIB
notifications.

Past commits added the IPMR VIF and MFC add/del notifications via the
fib_notifier chain. In addition, a code for handling these notifications in
the Spectrum router logic was added. Make the Spectrum router logic not
ignore these notifications and forward the requests to the Spectrum
multicast router offloading logic.

Signed-off-by: Yotam Gigi <yotamg@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