History

RDMA/mana_ib: implement uapi for creation of rnic cq

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.

Konstantin Taranov committed 2 years ago

Commit 44b607a1 parent f79edef2 files · +63 −4Browse files

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

Unified · Split

include/uapi/rdma/mana-abi.h+12−0
@@ -16,8 +16,20 @@ · 15 unmodified lines
1616
1717 #define MANA_IB_UVERBS_ABI_VERSION 1
1818
19+enum mana_ib_create_cq_flags {
20+ MANA_IB_CREATE_RNIC_CQ = 1 << 0,
21+};
22+
1923 struct mana_ib_create_cq {
2024 __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;
2133 };
2234
2335 struct mana_ib_create_qp {