]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/core: Export ib_open_qp() to share XRC TGT QPs
authorSean Hefty <sean.hefty@intel.com>
Mon, 8 Aug 2011 22:31:51 +0000 (15:31 -0700)
committerRoland Dreier <roland@purestorage.com>
Thu, 13 Oct 2011 16:49:51 +0000 (09:49 -0700)
commit161aebc2b76bf6b4f1f2929fb588150c54d14567
tree54314a25a402244036a5417f098c70af441a56a8
parentc23674dbabb4b4413c719e8ecc10cd4b0c72f5f3
RDMA/core: Export ib_open_qp() to share XRC TGT QPs

XRC TGT QPs are shared resources among multiple processes.  Since the
creating process may exit, allow other processes which share the same
XRC domain to open an existing QP.  This allows us to transfer
ownership of an XRC TGT QP to another process.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/uverbs_main.c
drivers/infiniband/core/verbs.c
include/rdma/ib_verbs.h