| .. | .. |
|---|
| 39 | 39 | struct hns_roce_ib_create_cq { |
|---|
| 40 | 40 | __aligned_u64 buf_addr; |
|---|
| 41 | 41 | __aligned_u64 db_addr; |
|---|
| 42 | + __u32 cqe_size; |
|---|
| 43 | + __u32 reserved; |
|---|
| 42 | 44 | }; |
|---|
| 43 | 45 | |
|---|
| 44 | 46 | struct hns_roce_ib_create_cq_resp { |
|---|
| 45 | 47 | __aligned_u64 cqn; /* Only 32 bits used, 64 for compat */ |
|---|
| 46 | 48 | __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; |
|---|
| 47 | 60 | }; |
|---|
| 48 | 61 | |
|---|
| 49 | 62 | struct hns_roce_ib_create_qp { |
|---|
| .. | .. |
|---|
| 62 | 75 | |
|---|
| 63 | 76 | struct hns_roce_ib_alloc_ucontext_resp { |
|---|
| 64 | 77 | __u32 qp_tab_size; |
|---|
| 65 | | - __u32 reserved; |
|---|
| 78 | + __u32 cqe_size; |
|---|
| 66 | 79 | }; |
|---|
| 67 | 80 | |
|---|
| 68 | 81 | struct hns_roce_ib_alloc_pd_resp { |
|---|