]> git.baikalelectronics.ru Git - kernel.git/commit
IB/uverbs: Expose UAPI to query ucontext
authorYishai Hadas <yishaih@mellanox.com>
Tue, 30 Jun 2020 09:39:12 +0000 (12:39 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 6 Jul 2020 22:50:33 +0000 (19:50 -0300)
commitf2ce8d9f03ada2f64ffeff47dc4273d937dc3de8
tree2a4741948790bd47d7f46dec18e78a74651eedd3
parent962ad154d57b10a708c15546c5d182288949a4cd
IB/uverbs: Expose UAPI to query ucontext

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

Link: https://lore.kernel.org/r/20200630093916.332097-4-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/device.c
drivers/infiniband/core/uverbs_std_types_device.c
include/rdma/ib_verbs.h
include/uapi/rdma/ib_user_ioctl_cmds.h