summaryrefslogtreecommitdiff
path: root/Documentation/networking/devlink-trap-netdevsim.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-netdevsim.rst
parentda58f90f11f597520f226caff1d3cfc115abedc9 (diff)
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-netdevsim.rst')
-rw-r--r--Documentation/networking/devlink-trap-netdevsim.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/networking/devlink-trap-netdevsim.rst b/Documentation/networking/devlink-trap-netdevsim.rst
new file mode 100644
index 000000000000..b721c9415473
--- /dev/null
+++ b/Documentation/networking/devlink-trap-netdevsim.rst
@@ -0,0 +1,20 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+======================
+Devlink Trap netdevsim
+======================
+
+Driver-specific Traps
+=====================
+
+.. list-table:: List of Driver-specific Traps Registered by ``netdevsim``
+ :widths: 5 5 90
+
+ * - Name
+ - Type
+ - Description
+ * - ``fid_miss``
+ - ``exception``
+ - When a packet enters the device it is classified to a filtering
+ indentifier (FID) based on the ingress port and VLAN. This trap is used
+ to trap packets for which a FID could not be found