]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
rdma/uverbs: Export XRC TGT QPs to user space
authorSean Hefty <sean.hefty@intel.com>
Fri, 27 May 2011 07:00:12 +0000 (00:00 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 22 Aug 2011 18:39:59 +0000 (11:39 -0700)
commitf7aee013c94b61fe95254a1ca780b1d95e37a245
treec33b0aa090b8c4a8bc3044f2638c5a85d460e616
parent994e62199e94e31fdfce3581c08229c6460153c9
rdma/uverbs: Export XRC TGT QPs to user space

Allow user space to operate on XRC TGT QPs the same as other
types of QPs, with one notable exception.  Since XRC TGT QPs
may be shared among multiple processes, the XRC TGT QP is
allowed to exist beyond the lifetime of the creating process.

The process that creates the qp is allowed to destroy it, but
if the process exits without destroying the qp, then the qp
will be left bound to the lifetime of the XRCD.

TGT QPs are not associated with CQs or a PD.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/uverbs_main.c