]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
IB/core: Add CQ creation time-stamping flag
authorMatan Barak <matanb@mellanox.com>
Thu, 11 Jun 2015 13:35:22 +0000 (16:35 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 12 Jun 2015 18:49:10 +0000 (14:49 -0400)
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>
include/rdma/ib_verbs.h

index ea01e9953ec7d5ba0424daf7ebaa1b977a0b21c8..2b4bf0632c64418ed0ffea60421241d52f1c7b73 100644 (file)
@@ -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;