1RDMA_CREATE_QP(3) Librdmacm Programmer's Manual RDMA_CREATE_QP(3)
2
3
4
6 rdma_create_qp - Allocate a QP.
7
9 #include <rdma/rdma_cma.h>
10
11 int rdma_create_qp (struct rdma_cm_id *id, struct ibv_pd *pd, struct
12 ibv_qp_init_attr *qp_init_attr);
13
15 id RDMA identifier.
16
17 pd protection domain for the QP.
18
19 qp_init_attr
20 initial QP attributes.
21
23 Allocate a QP associated with the specified rdma_cm_id and transition
24 it for sending and receiving.
25
27 The rdma_cm_id must be bound to a local RDMA device before calling this
28 function, and the protection domain must be for that same device. QPs
29 allocated to an rdma_cm_id are automatically transitioned by the librd‐
30 macm through their states. After being allocated, the QP will be ready
31 to handle posting of receives. If the QP is unconnected, it will be
32 ready to post sends.
33
35 rdma_bind_addr(3), rdma_resolve_addr(3), rdma_destroy_qp(3), ibv_cre‐
36 ate_qp(3), ibv_modify_qp(3)
37
38
39
40librdmacm 2007-05-15 RDMA_CREATE_QP(3)