OSDN Git Service

mlxsw: spectrum: Use same trap group for MLD and IGMP packets
authorIdo Schimmel <idosch@mellanox.com>
Sun, 24 May 2020 21:50:58 +0000 (00:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 May 2020 02:32:23 +0000 (19:32 -0700)
commit99129069b7123c22ca14529972946216757077ee
treeff87edbd6dba3ae468eef179c55d95da3b6d372d
parentdebb7af6867f1331f72745732b4849c748e929a6
mlxsw: spectrum: Use same trap group for MLD and IGMP packets

Both packet types are needed for the same reason (multicast snooping),
so associate them with the same trap group.

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