devlink: Add health get command
authorEran Ben Elisha <eranbe@mellanox.com>
Thu, 17 Jan 2019 21:59:13 +0000 (23:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2019 22:51:22 +0000 (14:51 -0800)
commitff253fedab961b22117a73ab808fcfa9e6852b50
treef5446764312aa45e5d6a64c01901240f4b7fb3a5
parentc7af343b4e33578b7de91786a3f639c8cfa0d97b
devlink: Add health get command

Add devlink health get command to provide reporter/s data for user space.
Add the ability to get data per reporter or dump data from all available
reporters.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/devlink.h
net/core/devlink.c