mlxsw: spectrum_router: Add Multicast routing support for Spectrum-2
authorNir Dotan <nird@mellanox.com>
Mon, 10 Dec 2018 07:11:45 +0000 (07:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Dec 2018 07:01:33 +0000 (23:01 -0800)
commitcf7221a4f5a53f4975bdf55a9fa5de7a32acfc6d
tree017694eb3a8514914ce4d033dd70d2d349cba2ee
parentd7263ab35be25505ab57ebecd93cbc5dba8be717
mlxsw: spectrum_router: Add Multicast routing support for Spectrum-2

Add implementation of Spectrum-2 multicast routes for both IPv4 and IPv6 by
using ACL module explicitly.
In Spectrum-2, multicast routes are set as ACL rules, so initialization
takes care of creating dedicated ACL groups and binding them to the
appropriate multicast routing protocol IPv4/IPv6, and afterwards routes
configuration translates to setting explicit ACL rules.

Signed-off-by: Nir Dotan <nird@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c