Message ID | 1549532202-943-1-git-send-email-eranbe@mellanox.com |
---|---|
Headers | show |
Series | Devlink health reporting and recovery system | expand |
From: Eran Ben Elisha <eranbe@mellanox.com> Date: Thu, 7 Feb 2019 11:36:31 +0200 > The health mechanism is targeted for Real Time Alerting, in order to know when > something bad had happened to a PCI device > - Provide alert debug information > - Self healing > - If problem needs vendor support, provide a way to gather all needed debugging > information. > > The main idea is to unify and centralize driver health reports in the > generic devlink instance and allow the user to set different > attributes of the health reporting and recovery procedures. ... Series applied, thank you.
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