]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9aeeb3cadd1633ad2f580153616fde4899b9d411
treeff87edbd6dba3ae468eef179c55d95da3b6d372d
parent4cd51a2061e8e589f5000d82e8e51507c20f5da3
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