]> 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)
commitc92e73d77df91203140f358a407106b541b8ce31
tree54314a25a402244036a5417f098c70af441a56a8
parentece1db75e969271d8b739b0a817aafdd372368f4
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