aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2019-02-18 15:25:49 -0500
committerJason Gunthorpe <jgg@mellanox.com>2019-02-19 12:13:39 -0500
commit517b773e0f612d608cbc62a08c55601bd56f73f6 (patch)
tree8de50311c739160621aaa2bd619a3f269741dfe4 /include/uapi
parent7c77c6a9bf9d71711dd3f89858bb0f5157a11919 (diff)
RDMA/nldev: Share with user-space object IDs
Give to the user space tools unique identifier for PD, MR, CQ and CM_ID objects, so they can be able to query on them with .doit callbacks. QP .doit is not supported yet, till all drivers will be updated to provide their LQPN to be equal to their restrack ID. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/rdma/rdma_netlink.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
index 3a9e681e4257..43362132e0d7 100644
--- a/include/uapi/rdma/rdma_netlink.h
+++ b/include/uapi/rdma/rdma_netlink.h
@@ -457,6 +457,15 @@ enum rdma_nldev_attr {
457 RDMA_NLDEV_ATTR_DRIVER_U64, /* u64 */ 457 RDMA_NLDEV_ATTR_DRIVER_U64, /* u64 */
458 458
459 /* 459 /*
460 * Indexes to get/set secific entry,
461 * for QP use RDMA_NLDEV_ATTR_RES_LQPN
462 */
463 RDMA_NLDEV_ATTR_RES_PDN, /* u32 */
464 RDMA_NLDEV_ATTR_RES_CQN, /* u32 */
465 RDMA_NLDEV_ATTR_RES_MRN, /* u32 */
466 RDMA_NLDEV_ATTR_RES_CM_IDN, /* u32 */
467
468 /*
460 * Always the end 469 * Always the end
461 */ 470 */
462 RDMA_NLDEV_ATTR_MAX 471 RDMA_NLDEV_ATTR_MAX