1ibv_query_qp_data_in_ordeLri(b3i)bverbs Programmer’s Mainbuva_lquery_qp_data_in_order(3)
2
3
4
6 ibv_query_qp_data_in_order - check if qp data is guaranteed to be in
7 order.
8
10 #include <infiniband/verbs.h>
11
12 int ibv_query_qp_data_in_order(struct ibv_qp *qp, enum ibv_wr_opcode op, uint32_t flags);
13
15 ibv_query_qp_data_in_order() Checks whether WQE data is guaranteed to
16 be written in-order, and thus reader may poll for data instead of poll
17 for completion. This function indicates data is written in-order with‐
18 in each WQE, but cannot be used to determine ordering between separate
19 WQEs. This function describes ordering at the receiving side of the
20 QP, not the sending side.
21
23 qp
24
25 The local queue pair (QP) to query.
26
27 op
28
29 The operation type to query about. Different operation types may write data in a different order.
30 For RDMA read operations: describes ordering of RDMA reads post‐
31 ed on this local QP. For RDMA write operations: describes or‐
32 dering of remote RDMA writes being done into this local QP. For
33 RDMA send operations: describes ordering of remote RDMA sends
34 being done into this local QP. This function should not be used
35 to determine ordering of other operation types.
36
37 flags Extra field for future input. For now must be 0.
38
40 ibv_query_qp_data_in_order() Returns 1 if the data is guaranteed to be
41 written in-order, 0 otherwise.
42
44 Return value is valid only when the data is read by the CPU and relaxed
45 ordering MR is not the target of the transfer.
46
48 ibv_query_qp(3)
49
51 Patrisious Haddad <phaddad@nvidia.com>
52
53 Yochai Cohen <yochai@nvidia.com>
54
55
56
57libibverbs 2020-3-3 ibv_query_qp_data_in_order(3)