This series adds support for devlink health commands: devlink health show [DEV reporter REPORTE_NAME] devlink health recover DEV reporter REPORTER_NAME devlink health diagnose DEV reporter REPORTER_NAME devlink health dump show DEV reporter REPORTER_NAME devlink health dump clear DEV reporter REPORTER_NAME devlink health set DEV reporter REPORTER_NAME NAME VALUE
The first patch refactors the validation of input parameters, which grow way too long. Patch 2 and 3 fix bugs that were discovered during the devlink health development. Patch 4 adds the devlink health functionality. Aya Levin (4): devlink: refactor validation of finding required arguments devlink: fix print of uint64_t devlink: fix boolean JSON print devlink: add health command support devlink/devlink.c | 721 ++++++++++++++++++++++++++++++++++++------- include/uapi/linux/devlink.h | 23 ++ man/man8/devlink-health.8 | 176 +++++++++++ man/man8/devlink.8 | 7 +- 4 files changed, 813 insertions(+), 114 deletions(-) create mode 100644 man/man8/devlink-health.8 -- 2.14.1