devlink: Add overlay source MAC is multicast trap
Add packet trap that can report 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>
This commit is contained in:

committed by
David S. Miller

parent
27942c7000
commit
c3cae4916e
@@ -7708,6 +7708,7 @@ static const struct devlink_trap devlink_trap_generic[] = {
|
||||
DEVLINK_TRAP(IPV6_LPM_UNICAST_MISS, EXCEPTION),
|
||||
DEVLINK_TRAP(NON_ROUTABLE, DROP),
|
||||
DEVLINK_TRAP(DECAP_ERROR, EXCEPTION),
|
||||
DEVLINK_TRAP(OVERLAY_SMAC_MC, DROP),
|
||||
};
|
||||
|
||||
#define DEVLINK_TRAP_GROUP(_id) \
|
||||
|
Reference in New Issue
Block a user