summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2015-06-11 16:35:22 +0300
committerDoug Ledford <dledford@redhat.com>2015-06-12 14:49:10 -0400
commitb9926b92a4d44c94b0d99bfa802ac7b37dabc9e8 (patch)
tree1ff0a310efa2a91267259370bd775f30223cbc5f /include/rdma
parent8e37210b38fb7d6aa06aebde763316ee955d44c0 (diff)
downloadop-kernel-dev-b9926b92a4d44c94b0d99bfa802ac7b37dabc9e8.zip
op-kernel-dev-b9926b92a4d44c94b0d99bfa802ac7b37dabc9e8.tar.gz
IB/core: Add CQ creation time-stamping flag
Add CQ creation flag which dictates that the created CQ will report completion time-stamp value in the WC. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma')
-rw-r--r--include/rdma/ib_verbs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index ea01e99..2b4bf06 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -173,6 +173,10 @@ struct ib_odp_caps {
} per_transport_caps;
};
+enum ib_cq_creation_flags {
+ IB_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 << 0,
+};
+
struct ib_cq_init_attr {
unsigned int cqe;
int comp_vector;
OpenPOWER on IntegriCloud