Version: 1
-Previous: 72852b367ac0f14a587e196f7a94948229e36d11
-Head: 94332ed744f0a660d7654ddd75619d415c712289
+Previous: 8c5a49d9c04c213ea30bc9abaab26d8620e0d131
+Head: ff127a22f2a7e7190bde348b2ed38dd490ecfe20
Applied:
ext: bd9562c3a152f1aeb3cd985d906fd28d1da11fe1
xrc: 563fb8c3e4ac4b1bb34706822e65c761cbb918d3
xrc-man: 58e80c2ab74c3897a6c8f6df09095ff521e83232
xsrq_sample: 5099ebb63980b28a82fde95e55bed02ea699092e
open_qp: 94332ed744f0a660d7654ddd75619d415c712289
+ open-qp-man: ff127a22f2a7e7190bde348b2ed38dd490ecfe20
Unapplied:
Hidden:
--- /dev/null
+Bottom: 3ddad6396082eca0c222a66bf7f2217886a4d086
+Top: fd22b1cde9dbc9f53e043079140375fdc38b560b
+Author: Sean Hefty <sean.hefty@intel.com>
+Date: 2011-12-22 00:10:21 -0800
+
+Add man page for ib_open_qp
+
+Signed-off-by: Sean Hefty <sean.hefty@intel.com>
+
+
+---
+
+diff --git a/man/ibv_open_qp.3 b/man/ibv_open_qp.3
+new file mode 100644
+index 0000000..577a28d
+--- /dev/null
++++ b/man/ibv_open_qp.3
+@@ -0,0 +1,48 @@
++.\" -*- nroff -*-
++.\"
++.TH IBV_OPEN_QP 3 2011-08-12 libibverbs "Libibverbs Programmer's Manual"
++.SH "NAME"
++ibv_open_qp \- open a shareable queue pair (QP)
++.SH "SYNOPSIS"
++.nf
++.B #include <infiniband/verbs.h>
++.sp
++.BI "struct ibv_qp *ibv_open_qp(struct ibv_xrcd " "*xrcd" ,
++.BI " struct ibv_qp_open_attr " "*qp_open_attr" );
++.fi
++.SH "DESCRIPTION"
++.B ibv_open_qp()
++opens an existing queue pair (QP) associated with the extended protection domain
++.I xrcd\fR.
++The argument
++.I qp_open_attr
++is an ibv_qp_open_attr struct, as defined in <infiniband/verbs.h>.
++.PP
++.nf
++struct ibv_qp_open_attr {
++.in +8
++void *qp_context; /* Associated context of the QP */
++uint32_t qp_num; /* QP number */
++enum ibv_qp_type qp_type; /* QP transport service type */
++.fi
++.PP
++.B ibv_destroy_qp()
++closes the opened QP and destroys the underlying QP if it has no
++other references.
++.I qp\fR.
++.SH "RETURN VALUE"
++.B ibv_open_qp()
++returns a pointer to the opened QP, or NULL if the request fails.
++Check the QP number (\fBqp_num\fR) in the returned QP.
++.SH "NOTES"
++.B ibv_open_qp()
++will fail if a it is asked to open a QP that does not exist within
++the xrcd with the specified qp_num and qp_type.
++.SH "SEE ALSO"
++.BR ibv_alloc_pd (3),
++.BR ibv_create_qp (3),
++.BR ibv_modify_qp (3),
++.BR ibv_query_qp (3)
++.SH "AUTHORS"
++.TP
++Sean Hefty <sean.hefty@intel.com>