diff options
-rw-r--r-- | Documentation/networking/devlink-trap.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/networking/devlink-trap.rst b/Documentation/networking/devlink-trap.rst index fe4f6e149623..c20c7c483664 100644 --- a/Documentation/networking/devlink-trap.rst +++ b/Documentation/networking/devlink-trap.rst | |||
@@ -196,3 +196,13 @@ narrow. The description of these groups must be added to the following table: | |||
196 | * - ``buffer_drops`` | 196 | * - ``buffer_drops`` |
197 | - Contains packet traps for packets that were dropped by the device due to | 197 | - Contains packet traps for packets that were dropped by the device due to |
198 | an enqueue decision | 198 | an enqueue decision |
199 | |||
200 | Testing | ||
201 | ======= | ||
202 | |||
203 | See ``tools/testing/selftests/drivers/net/netdevsim/devlink_trap.sh`` for a | ||
204 | test covering the core infrastructure. Test cases should be added for any new | ||
205 | functionality. | ||
206 | |||
207 | Device drivers should focus their tests on device-specific functionality, such | ||
208 | as the triggering of supported packet traps. | ||