Skip to content

Commit

Permalink
IB/core: Add CQ creation time-stamping flag
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matan Barak authored and Doug Ledford committed Jun 12, 2015
1 parent 8e37210 commit b9926b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/rdma/ib_verbs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b9926b9

Please sign in to comment.