docs: net: add missing devlink health cmd - trigger
authorJakub Kicinski <kuba@kernel.org>
Sat, 13 Mar 2021 00:30:26 +0000 (16:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Mar 2021 02:12:43 +0000 (18:12 -0800)
Documentation is missing and it's not very clear what
this callback is for - presumably testing the recovery?

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/devlink/devlink-health.rst

index d52c9a6..e37f777 100644 (file)
@@ -74,6 +74,10 @@ via ``devlink``, e.g per error type (per health reporter):
      - Allows reporter-related configuration setting.
    * - ``DEVLINK_CMD_HEALTH_REPORTER_RECOVER``
      - Triggers reporter's recovery procedure.
+   * - ``DEVLINK_CMD_HEALTH_REPORTER_TEST``
+     - Triggers a fake health event on the reporter. The effects of the test
+       event in terms of recovery flow should follow closely that of a real
+       event.
    * - ``DEVLINK_CMD_HEALTH_REPORTER_DIAGNOSE``
      - Retrieves current device state related to the reporter.
    * - ``DEVLINK_CMD_HEALTH_REPORTER_DUMP_GET``