aboutsummaryrefslogtreecommitdiffstats
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
parentIB/core: Change ib_create_cq to use struct ib_cq_init_attr (diff)
downloadlinux-dev-b9926b92a4d44c94b0d99bfa802ac7b37dabc9e8.tar.xz
linux-dev-b9926b92a4d44c94b0d99bfa802ac7b37dabc9e8.zip
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>
-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 ea01e9953ec7..2b4bf0632c64 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;