diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2019-01-17 23:59:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-18 14:51:22 -0800 |
commit | cb5ccfbe73b389470e1dc11061bb185ef4bc9aec (patch) | |
tree | 2eaba2908349449e7dd19b71589a228b5ce74d46 /include/rdma/ib.h | |
parent | f88c19aab5f34835f1ba467c5b508ec4f782f07f (diff) |
devlink: Add health buffer support
Devlink health buffer is a mechanism to pass descriptors between drivers
and devlink. The API allows the driver to add objects, object pair,
value array (nested attributes), value and name.
Driver can use this API to fill the buffers in a format which can be
translated by the devlink to the netlink message.
In order to fulfill it, an internal buffer descriptor is defined. This
will hold the data and metadata per each attribute and by used to pass
actual commands to the netlink.
This mechanism will be later used in devlink health for dump and diagnose
data store by the drivers.
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>
Diffstat (limited to 'include/rdma/ib.h')
0 files changed, 0 insertions, 0 deletions