]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Expose ib_ucontext from a given ib_uverbs_file
authorYishai Hadas <yishaih@mellanox.com>
Sun, 17 Jun 2018 09:59:59 +0000 (12:59 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 19 Jun 2018 16:53:02 +0000 (10:53 -0600)
commit78d6b60ae58630a0c7222e9453a4cf930ed8619a
treed7ca5c177c38c05e4ff48801f1a1d461f5b498d7
parente56e4b27e44e138677cffb7cbc4553e7711a8c4d
IB/core: Expose ib_ucontext from a given ib_uverbs_file

Drivers that use the IOCTL API may have the ib_uverbs_file and need a
way to get the related ib_ucontext from it, this is enabled by this
patch.

Downstream patches from this series will use it.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/uverbs_main.c
include/rdma/ib_verbs.h