mbox series

[iproute2-next,0/4] Add support for devlink health

Message ID 1549823329-10377-1-git-send-email-ayal@mellanox.com
Headers show
Series Add support for devlink health | expand

Message

Aya Levin Feb. 10, 2019, 6:28 p.m. UTC
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