devlink: Add early_drop trap
Add the packet trap that can report packets that were ECN marked due to RED AQM. Signed-off-by: Amit Cohen <amitc@mellanox.com> Signed-off-by: Petr Machata <petrm@mellanox.com> Reviewed-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
80fbbb1672
commit
08e335f6ad
@@ -8801,6 +8801,7 @@ static const struct devlink_trap devlink_trap_generic[] = {
|
||||
DEVLINK_TRAP(PTP_GENERAL, CONTROL),
|
||||
DEVLINK_TRAP(FLOW_ACTION_SAMPLE, CONTROL),
|
||||
DEVLINK_TRAP(FLOW_ACTION_TRAP, CONTROL),
|
||||
DEVLINK_TRAP(EARLY_DROP, DROP),
|
||||
};
|
||||
|
||||
#define DEVLINK_TRAP_GROUP(_id) \
|
||||
|
Reference in New Issue
Block a user