History

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.

Jason Gunthorpe committed 8 years ago

Commit beb801a1 parent 0812ed15 files · +11 −11Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/rdma/ib_user_verbs.h+6−1
@@ -402,13 +402,18 @@ struct ib_uverbs_create_cq { · 401 unmodified lines
402402 __u64 driver_data[0];
403403 };
404404
405+enum ib_uverbs_ex_create_cq_flags {
406+ IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 << 0,
407+ IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN = 1 << 1,
408+};
409+
405410 struct ib_uverbs_ex_create_cq {
406411 __u64 user_handle;
407412 __u32 cqe;
408413 __u32 comp_vector;
409414 __s32 comp_channel;
410415 __u32 comp_mask;
411− __u32 flags;
416+ __u32 flags; /* bitmask of ib_uverbs_ex_create_cq_flags */
412417 __u32 reserved;
413418 };
414419

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t