Commit 95766451 authored by Ido Schimmel's avatar Ido Schimmel Committed by David S. Miller

Documentation: Add a section for devlink-trap testing

Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
Acked-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b3cb7df9
...@@ -196,3 +196,13 @@ narrow. The description of these groups must be added to the following table: ...@@ -196,3 +196,13 @@ narrow. The description of these groups must be added to the following table:
* - ``buffer_drops`` * - ``buffer_drops``
- Contains packet traps for packets that were dropped by the device due to - Contains packet traps for packets that were dropped by the device due to
an enqueue decision an enqueue decision
Testing
=======
See ``tools/testing/selftests/drivers/net/netdevsim/devlink_trap.sh`` for a
test covering the core infrastructure. Test cases should be added for any new
functionality.
Device drivers should focus their tests on device-specific functionality, such
as the triggering of supported packet traps.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment