From: Matan Barak Date: Thu, 11 Jun 2015 13:35:22 +0000 (+0300) Subject: IB/core: Add CQ creation time-stamping flag X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b9926b92a4d44c94b0d99bfa802ac7b37dabc9e8;p=linux-beck.git 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 Signed-off-by: Or Gerlitz Signed-off-by: Doug Ledford --- 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;