]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit25b02453fa93305bbde2378fbe85c046fc3a3ab4
tree1ac7392f649fb03390af284f0fd55f2e18e54deb
parent1f680588446c92b94dcc37b585d765ccaf11e19f
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