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
402 __u64 driver_data[0];402 __u64 driver_data[0];
403};403};
404 404
405enum 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
405struct ib_uverbs_ex_create_cq {410struct ib_uverbs_ex_create_cq {
406 __u64 user_handle;411 __u64 user_handle;
407 __u32 cqe;412 __u32 cqe;
408 __u32 comp_vector;413 __u32 comp_vector;
409 __s32 comp_channel;414 __s32 comp_channel;
410 __u32 comp_mask;415 __u32 comp_mask;
411 __u32 flags;416 __u32 flags; /* bitmask of ib_uverbs_ex_create_cq_flags */
412 __u32 reserved;417 __u32 reserved;
413};418};
414 419

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