The hns_roce_ib_create_srq_resp is used to interact with the user for data. As a result, it is added to apply with matching kernel headers. Signed-off-by: Lijun Ou <oulijun@xxxxxxxxxx> --- include/uapi/rdma/hns-abi.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/uapi/rdma/hns-abi.h b/include/uapi/rdma/hns-abi.h index ef3c7ec..eb76b38 100644 --- a/include/uapi/rdma/hns-abi.h +++ b/include/uapi/rdma/hns-abi.h @@ -52,6 +52,11 @@ struct hns_roce_ib_create_srq { __aligned_u64 que_addr; }; +struct hns_roce_ib_create_srq_resp { + __u32 srqn; + __u32 reserved; +}; + struct hns_roce_ib_create_qp { __aligned_u64 buf_addr; __aligned_u64 db_addr; -- 1.9.1