mlxsw: Add OVERLAY_SMAC_MC trap
authorAmit Cohen <amitc@mellanox.com>
Sun, 19 Jan 2020 13:00:59 +0000 (15:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jan 2020 15:23:52 +0000 (16:23 +0100)
commit3aed0722f7d75240ab7ea0ee2813f6a82f53c60e
tree2da3c692d621985c8e672c145f2f26c3000deae7
parentc3cae4916e57d2f0364d5e7769218547fb1b7c60
mlxsw: Add OVERLAY_SMAC_MC trap

Add a trap for NVE packets that the device decided to drop because their
overlay source MAC is multicast.

Signed-off-by: Amit Cohen <amitc@mellanox.com>
Acked-by: Jiri Pirko <jiri@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_trap.c
drivers/net/ethernet/mellanox/mlxsw/trap.h