1EFADV_CREATE_QP_EX(3) EFA Direct Verbs Manual EFADV_CREATE_QP_EX(3)
2
3
4
6 efadv_create_qp_ex - Create EFA specific extended Queue Pair
7
9 #include <infiniband/efadv.h>
10
11 struct ibv_qp *efadv_create_qp_ex(struct ibv_context *ibvctx,
12 struct ibv_qp_init_attr_ex *attr_ex,
13 struct efadv_qp_init_attr *efa_attr,
14 uint32_t inlen);
15
17 efadv_create_qp_ex() creates device-specific extended Queue Pair.
18
19 The argument attr_ex is an ibv_qp_init_attr_ex struct, as defined in
20 <infiniband/verbs.h>.
21
22 Use ibv_qp_to_qp_ex() to get the ibv_qp_ex for accessing the send ops
23 iterator interface, when QP create attr IBV_QP_INIT_ATTR_SEND_OPS_FLAGS
24 is used.
25
26 Scalable Reliable Datagram (SRD) transport provides reliable out-of-or‐
27 der delivery, transparently utilizing multiple network paths to reduce
28 network tail latency. Its interface is similar to UD, in particular it
29 supports message size up to MTU, with error handling extended to sup‐
30 port reliable communication.
31
32 Compatibility is handled using the comp_mask and inlen fields.
33
34 struct efadv_qp_init_attr {
35 uint64_t comp_mask;
36 uint32_t driver_qp_type;
37 uint8_t reserved[4];
38 };
39
40 inlen In: Size of struct efadv_qp_init_attr.
41
42 comp_mask
43 Compatibility mask.
44
45 driver_qp_type
46 The type of QP to be created:
47
48 EFADV_QP_DRIVER_TYPE_SRD: Create an SRD QP.
49
51 efadv_create_qp_ex() returns a pointer to the created QP, or NULL if
52 the request fails.
53
55 efadv(7), ibv_create_qp_ex(3)
56
58 Gal Pressman <galpress@amazon.com> Daniel Kranzdorf <dkkranzd@ama‐
59 zon.com>
60
61
62
63efa 2019-08-06 EFADV_CREATE_QP_EX(3)