mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
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>
This commit is contained in:
parent
8e37210b38
commit
b9926b92a4
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue