Enable users to create RNIC CQs using a corresponding flag. With the previous request size, an ethernet CQ is created. As a response, return ID of the created CQ.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -16,8 +16,20 @@ · 15 unmodified lines | |||
| 16 | 16 | ||
| 17 | #define MANA_IB_UVERBS_ABI_VERSION 1 | 17 | #define MANA_IB_UVERBS_ABI_VERSION 1 |
| 18 | 18 | ||
| 19 | enum mana_ib_create_cq_flags { | ||
| 20 | MANA_IB_CREATE_RNIC_CQ = 1 << 0, | ||
| 21 | }; | ||
| 22 | |||
| 19 | struct mana_ib_create_cq { | 23 | struct mana_ib_create_cq { |
| 20 | __aligned_u64 buf_addr; | 24 | __aligned_u64 buf_addr; |
| 25 | __u16 flags; | ||
| 26 | __u16 reserved0; | ||
| 27 | __u32 reserved1; | ||
| 28 | }; | ||
| 29 | |||
| 30 | struct mana_ib_create_cq_resp { | ||
| 31 | __u32 cqid; | ||
| 32 | __u32 reserved; | ||
| 21 | }; | 33 | }; |
| 22 | 34 | ||
| 23 | struct mana_ib_create_qp { | 35 | struct mana_ib_create_qp { |