hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/include/uapi/rdma/hns-abi.h
....@@ -39,11 +39,24 @@
3939 struct hns_roce_ib_create_cq {
4040 __aligned_u64 buf_addr;
4141 __aligned_u64 db_addr;
42
+ __u32 cqe_size;
43
+ __u32 reserved;
4244 };
4345
4446 struct hns_roce_ib_create_cq_resp {
4547 __aligned_u64 cqn; /* Only 32 bits used, 64 for compat */
4648 __aligned_u64 cap_flags;
49
+};
50
+
51
+struct hns_roce_ib_create_srq {
52
+ __aligned_u64 buf_addr;
53
+ __aligned_u64 db_addr;
54
+ __aligned_u64 que_addr;
55
+};
56
+
57
+struct hns_roce_ib_create_srq_resp {
58
+ __u32 srqn;
59
+ __u32 reserved;
4760 };
4861
4962 struct hns_roce_ib_create_qp {
....@@ -62,7 +75,7 @@
6275
6376 struct hns_roce_ib_alloc_ucontext_resp {
6477 __u32 qp_tab_size;
65
- __u32 reserved;
78
+ __u32 cqe_size;
6679 };
6780
6881 struct hns_roce_ib_alloc_pd_resp {