mlxsw: spectrum: Add multicast router trap for PIMv6
authorYuval Mintz <yuvalm@mellanox.com>
Mon, 26 Mar 2018 12:01:45 +0000 (15:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Mar 2018 17:14:45 +0000 (13:14 -0400)
commit6a170d326f7a0d187b33eacb0344add8e223ca11
tree57707e2ab40612d2bb2d2ee5162c0e62dddf126d
parent64ed1b9e8fb7c2c5a668546795a88ada5ce77c7d
mlxsw: spectrum: Add multicast router trap for PIMv6

Add a new trap for PIMv6 packets. As PIM already has a designated trap
group [ & rate limiter], simply use the same for PIMv6 as well.

Signed-off-by: Yuval Mintz <yuvalm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/trap.h