IB/uverbs: Expose UAPI to query MR
authorYishai Hadas <yishaih@mellanox.com>
Tue, 30 Jun 2020 09:39:16 +0000 (12:39 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 6 Jul 2020 22:50:34 +0000 (19:50 -0300)
commit6c01e6b218aea09ec9947cbf88a4db97b4dd155c
tree1ac7392f649fb03390af284f0fd55f2e18e54deb
parent05f71ef9797454b9384c740b8acd0d02eca1d1bc
IB/uverbs: Expose UAPI to query MR

Expose UAPI to query MR, this will let user space application that
didn't allocate the MR but has access to by owning the matching command
FD to retrieve its information.

Link: https://lore.kernel.org/r/20200630093916.332097-8-leon@kernel.org
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/uverbs_std_types_mr.c
include/uapi/rdma/ib_user_ioctl_cmds.h