summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAmit Cohen <amitc@mellanox.com>2020-08-03 19:11:33 +0300
committerDavid S. Miller <davem@davemloft.net>2020-08-03 18:06:46 -0700
commit08e335f6ad35a019f4cb1a74badc2f4bceb63bcf (patch)
tree566f7e133e134f278393c8b825e0235fefa5db88 /Documentation
parent80fbbb1672e7815a15d7329638537961d65c453d (diff)
downloadlwn-08e335f6ad35a019f4cb1a74badc2f4bceb63bcf.tar.gz
lwn-08e335f6ad35a019f4cb1a74badc2f4bceb63bcf.zip
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/networking/devlink/devlink-trap.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/networking/devlink/devlink-trap.rst b/Documentation/networking/devlink/devlink-trap.rst
index 2014307fbe63..7a798352b45d 100644
--- a/Documentation/networking/devlink/devlink-trap.rst
+++ b/Documentation/networking/devlink/devlink-trap.rst
@@ -405,6 +405,10 @@ be added to the following table:
- ``control``
- Traps packets logged during processing of flow action trap (e.g., via
tc's trap action)
+ * - ``early_drop``
+ - ``drop``
+ - Traps packets dropped due to the RED (Random Early Detection) algorithm
+ (i.e., early drops)
Driver-specific Packet Traps
============================