diff options
author | Matan Barak <matanb@mellanox.com> | 2015-06-11 09:35:22 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-06-12 14:49:10 -0400 |
commit | b9926b92a4d44c94b0d99bfa802ac7b37dabc9e8 (patch) | |
tree | 1ff0a310efa2a91267259370bd775f30223cbc5f /include/rdma | |
parent | 8e37210b38fb7d6aa06aebde763316ee955d44c0 (diff) |
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.h | 4 |
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 { | |||
173 | } per_transport_caps; | 173 | } per_transport_caps; |
174 | }; | 174 | }; |
175 | 175 | ||
176 | enum ib_cq_creation_flags { | ||
177 | IB_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 << 0, | ||
178 | }; | ||
179 | |||
176 | struct ib_cq_init_attr { | 180 | struct ib_cq_init_attr { |
177 | unsigned int cqe; | 181 | unsigned int cqe; |
178 | int comp_vector; | 182 | int comp_vector; |