aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/devlink-trap.rst
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2019-08-17 16:28:21 +0300
committerDavid S. Miller <davem@davemloft.net>2019-08-17 12:40:09 -0700
commit9e087457048884c57c51a32b52d8aa1d9b0d7385 (patch)
tree05c12d161dd31549585d1bdc732cc9c9caf2a051 /Documentation/networking/devlink-trap.rst
parentnetdevsim: Add devlink-trap support (diff)
downloadlinux-dev-9e087457048884c57c51a32b52d8aa1d9b0d7385.tar.xz
linux-dev-9e087457048884c57c51a32b52d8aa1d9b0d7385.zip
Documentation: Add description of netdevsim traps
Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/devlink-trap.rst')
-rw-r--r--Documentation/networking/devlink-trap.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/networking/devlink-trap.rst b/Documentation/networking/devlink-trap.rst
index dbc7a3e00fd8..fe4f6e149623 100644
--- a/Documentation/networking/devlink-trap.rst
+++ b/Documentation/networking/devlink-trap.rst
@@ -162,6 +162,17 @@ be added to the following table:
- Traps packets that the device decided to drop because they could not be
enqueued to a transmission queue which is full
+Driver-specific Packet Traps
+============================
+
+Device drivers can register driver-specific packet traps, but these must be
+clearly documented. Such traps can correspond to device-specific exceptions and
+help debug packet drops caused by these exceptions. The following list includes
+links to the description of driver-specific traps registered by various device
+drivers:
+
+ * :doc:`/devlink-trap-netdevsim`
+
Generic Packet Trap Groups
==========================