devlink: Add health get command
authorEran Ben Elisha <eranbe@mellanox.com>
Thu, 7 Feb 2019 09:36:35 +0000 (11:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Feb 2019 18:34:28 +0000 (10:34 -0800)
commit7afe335a8bede4e2839b0e0fa36ef629fe4a0206
tree185c1d363e10d428cbbf1d93fba4d859212e991c
parentc8e1da0bf9238e460c73ebc5a07ce93697e5e207
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>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/devlink.h
net/core/devlink.c