]> 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)
commitcd5a47aad25166ac14b3ff2b3982fac73d760f90
treeff87edbd6dba3ae468eef179c55d95da3b6d372d
parentd0f2e3a272c4f1b88c3cd66f8ad0da6aa6be11ae
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