Commit b9926b92 authored by Matan Barak's avatar Matan Barak Committed by Doug Ledford

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: default avatarMatan Barak <matanb@mellanox.com>
Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 8e37210b
...@@ -173,6 +173,10 @@ struct ib_odp_caps { ...@@ -173,6 +173,10 @@ struct ib_odp_caps {
} per_transport_caps; } per_transport_caps;
}; };
enum ib_cq_creation_flags {
IB_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 << 0,
};
struct ib_cq_init_attr { struct ib_cq_init_attr {
unsigned int cqe; unsigned int cqe;
int comp_vector; int comp_vector;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment