]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
devlink: Add health diagnose command
authorEran Ben Elisha <eranbe@mellanox.com>
Thu, 17 Jan 2019 21:59:16 +0000 (23:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2019 22:51:23 +0000 (14:51 -0800)
commit8a66704a13d9713593342e29b4f0c19762f5746b
tree156198d2d4c897099fe75ea92aa65b0efc4c5a86
parentfcd852c69d776c0f46c8f79e8e431e5cc6ddc7b7
devlink: Add health diagnose command

Add devlink health diagnose command, in order to run a diagnose
operation over a specific reporter.

It is expected from driver's callback for diagnose command to fill it
via the buffer descriptors API. Devlink will parse it and convert it to
netlink nla API in order to pass it to the user.

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