mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 14:40:12 -04:00
RDMA: Move enum ib_cq_creation_flags to uapi headers
The flags field the enum is used with comes directly from the uapi so it belongs in the uapi headers for clarity and so userspace can use it. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
@@ -402,13 +402,18 @@ struct ib_uverbs_create_cq {
|
||||
__u64 driver_data[0];
|
||||
};
|
||||
|
||||
enum ib_uverbs_ex_create_cq_flags {
|
||||
IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 << 0,
|
||||
IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN = 1 << 1,
|
||||
};
|
||||
|
||||
struct ib_uverbs_ex_create_cq {
|
||||
__u64 user_handle;
|
||||
__u32 cqe;
|
||||
__u32 comp_vector;
|
||||
__s32 comp_channel;
|
||||
__u32 comp_mask;
|
||||
__u32 flags;
|
||||
__u32 flags; /* bitmask of ib_uverbs_ex_create_cq_flags */
|
||||
__u32 reserved;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user