]> 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)
commit0a0ce0db6817edf3faf6118aed479f215af13289
treed7ca5c177c38c05e4ff48801f1a1d461f5b498d7
parentab25794bf131595fd27937c43f5ccd3efab21597
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