devlink: Add early_drop trap
authorAmit Cohen <amitc@mellanox.com>
Mon, 3 Aug 2020 16:11:33 +0000 (19:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Aug 2020 01:06:46 +0000 (18:06 -0700)
commit08e335f6ad35a019f4cb1a74badc2f4bceb63bcf
tree566f7e133e134f278393c8b825e0235fefa5db88
parent80fbbb1672e7815a15d7329638537961d65c453d
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>
Documentation/networking/devlink/devlink-trap.rst
include/net/devlink.h
net/core/devlink.c