aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/devlink/devlink-trap-netdevsim.rst
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2020-01-09 14:46:10 -0800
committerDavid S. Miller <davem@davemloft.net>2020-01-10 17:06:59 -0800
commitf4bdd7103652fab5ac8b0ed75fa5cbc515b50b8b (patch)
treeca068c74b7e95fa537d7bd156fce5b8ae81ef8b6 /Documentation/networking/devlink/devlink-trap-netdevsim.rst
parentdevlink: add macro for "fw.psid" (diff)
downloadlinux-dev-f4bdd7103652fab5ac8b0ed75fa5cbc515b50b8b.tar.xz
linux-dev-f4bdd7103652fab5ac8b0ed75fa5cbc515b50b8b.zip
devlink: move devlink documentation to subfolder
Combine the documentation for devlink into a subfolder, and provide an index.rst file that can be used to generally describe devlink. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/devlink/devlink-trap-netdevsim.rst')
-rw-r--r--Documentation/networking/devlink/devlink-trap-netdevsim.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/networking/devlink/devlink-trap-netdevsim.rst b/Documentation/networking/devlink/devlink-trap-netdevsim.rst
new file mode 100644
index 000000000000..b721c9415473
--- /dev/null
+++ b/Documentation/networking/devlink/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