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
16 16
17#define MANA_IB_UVERBS_ABI_VERSION 117#define MANA_IB_UVERBS_ABI_VERSION 1
18 18
19enum mana_ib_create_cq_flags {
20 MANA_IB_CREATE_RNIC_CQ = 1 << 0,
21};
22
19struct mana_ib_create_cq {23struct 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
30struct mana_ib_create_cq_resp {
31 __u32 cqid;
32 __u32 reserved;
21};33};
22 34
23struct mana_ib_create_qp {35struct mana_ib_create_qp {