]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/nldev: Share with user-space object IDs
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 18 Feb 2019 20:25:49 +0000 (22:25 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 19 Feb 2019 17:13:39 +0000 (10:13 -0700)
commit517b773e0f612d608cbc62a08c55601bd56f73f6
tree8de50311c739160621aaa2bd619a3f269741dfe4
parent7c77c6a9bf9d71711dd3f89858bb0f5157a11919
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>
drivers/infiniband/core/nldev.c
include/uapi/rdma/rdma_netlink.h