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)
commit0e0ec7e0638ef48e0c661873dfcc8caccab984c6
tree54314a25a402244036a5417f098c70af441a56a8
parent0a1405da9952a72dd587829a3321695adde7dca1
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