mlxsw: spectrum: Change ipv6 unregistered mc table
authorNogah Frankel <nogahf@mellanox.com>
Mon, 13 Feb 2017 20:03:02 +0000 (21:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2017 18:15:46 +0000 (13:15 -0500)
Point back the unregister IPv6 mc table to the bc table.
It is done since IPv6 mcast snooping is not supported for Spectrum yet.

Reported-by: Jiri Pirko <jiri@mellanox.com>
Fixes: 71c365bdc439 ("mlxsw: spectrum: Separate bc and mc floods")
Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Tested-by: Jiri Pirko <jiri@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.c

index 37c018bea5e2059b34108484d5b8d73eb290b981..16484f24b7dbbaa2fe10170bd7cb46fee9832938 100644 (file)
@@ -3078,7 +3078,6 @@ static int __mlxsw_sp_flood_init(struct mlxsw_core *mlxsw_core,
                flood_table = MLXSW_SP_FLOOD_TABLE_UC;
                break;
        case MLXSW_REG_SFGC_TYPE_UNREGISTERED_MULTICAST_IPV4:
-       case MLXSW_REG_SFGC_TYPE_UNREGISTERED_MULTICAST_IPV6:
                flood_table = MLXSW_SP_FLOOD_TABLE_MC;
                break;
        default: