linux/include/uapi/rdma
Steve Wise da5c850782 RDMA/nldev: add driver-specific resource tracking
Each driver can register a "fill entry" function with the restrack core.
This function will be called when filling out a resource, allowing the
driver to add driver-specific details.  The details consist of a
nltable of nested attributes, that are in the form of <key, [print-type],
value> tuples.  Both key and value attributes are mandatory.  The key
nlattr must be a string, and the value nlattr can be one of the driver
attributes that are generic, but typed, allowing the attributes to be
validated.  Currently the driver nlattr types include string, s32,
u32, s64, and u64.  The print-type nlattr allows a driver to specify
an alternative display format for user tools displaying the attribute.
For example, a u32 attribute will default to "%u", but a print-type
attribute can be included for it to be displayed in hex.  This allows
the user tool to print the number in the format desired by the driver
driver.

More attrs can be defined as they become needed by drivers.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2018-05-03 15:51:27 -04:00
..
hfi RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
bnxt_re-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
cxgb3-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
cxgb4-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
hns-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
i40iw-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
ib_user_cm.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
ib_user_ioctl_cmds.h IB/uverbs: Add device memory registration ioctl support 2018-04-05 11:16:39 -06:00
ib_user_ioctl_verbs.h IB/uverbs: Add flow_action create and destroy verbs 2018-04-04 12:06:25 -06:00
ib_user_mad.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
ib_user_sa.h License cleanup: add SPDX license identifier to uapi header files with a license 2017-11-02 11:20:11 +01:00
ib_user_verbs.h IB/uverbs: Expose device memory capabilities to user 2018-04-05 11:16:39 -06:00
mlx4-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
mlx5_user_ioctl_cmds.h IB/mlx5: Device memory support in mlx5_ib 2018-04-05 13:04:49 -06:00
mlx5_user_ioctl_verbs.h IB/mlx5: Add implementation for create and destroy action_xfrm 2018-04-04 12:06:26 -06:00
mlx5-abi.h IB/mlx5: Device memory support in mlx5_ib 2018-04-05 13:04:49 -06:00
mthca-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
nes-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
ocrdma-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
qedr-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
rdma_netlink.h RDMA/nldev: add driver-specific resource tracking 2018-05-03 15:51:27 -04:00
rdma_user_cm.h RDMA/CMA: Add rdma_port_space to UAPI 2018-03-28 20:50:45 -06:00
rdma_user_ioctl_cmds.h IB/uverbs: Add enum attribute type to ioctl() interface 2018-04-04 12:06:24 -06:00
rdma_user_ioctl.h IB/uverbs: Move to new headers and make naming consistent 2018-03-19 14:45:17 -06:00
rdma_user_rxe.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
vmw_pvrdma-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00