]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/ofed/librdmacm/man/rdma_create_qp.3
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / ofed / librdmacm / man / rdma_create_qp.3
1 .TH "RDMA_CREATE_QP" 3 "2007-05-15" "librdmacm" "Librdmacm Programmer's Manual" librdmacm
2 .SH NAME
3 rdma_create_qp \- Allocate a QP.
4 .SH SYNOPSIS
5 .B "#include <rdma/rdma_cma.h>"
6 .P
7 .B "int" rdma_create_qp
8 .BI "(struct rdma_cm_id *" id ","
9 .BI "struct ibv_pd *" pd ","
10 .BI "struct ibv_qp_init_attr *" qp_init_attr ");"
11 .SH ARGUMENTS
12 .IP "id" 12
13 RDMA identifier.
14 .IP "pd" 12
15 protection domain for the QP.
16 .IP "qp_init_attr" 12
17 initial QP attributes.
18 .SH "DESCRIPTION"
19 Allocate a QP associated with the specified rdma_cm_id and transition it
20 for sending and receiving.
21 .SH "NOTES"
22 The rdma_cm_id must be bound to a local RDMA device before calling this
23 function, and the protection domain must be for that same device.
24 QPs allocated to an rdma_cm_id are automatically transitioned by the
25 librdmacm through their states.  After being allocated, the QP will be
26 ready to handle posting of receives.  If the QP is unconnected, it will
27 be ready to post sends.
28 .SH "SEE ALSO"
29 rdma_bind_addr(3), rdma_resolve_addr(3), rdma_destroy_qp(3), ibv_create_qp(3),
30 ibv_modify_qp(3)