diff options
author | Lijun Ou <oulijun@huawei.com> | 2019-01-23 10:09:27 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-01-25 09:55:48 -0700 |
commit | 9d9d4ff788845fad1626b80164e43a1f0f17ccbc (patch) | |
tree | a4b400ad4c99c28dc23b98dcd98c0799d5d42f17 /include | |
parent | 951d01b96f174ded6180e7e4e14929ef22e7da7e (diff) |
RDMA/hns: Update the kernel header file of hns
The hns_roce_ib_create_srq_resp is used to interact with the user for
data, this was open coded to use a u32 directly, instead use a properly
sized structure.
Fixes: c7bcb13442e1 ("RDMA/hns: Add SRQ support for hip08 kernel mode")
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/rdma/hns-abi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/rdma/hns-abi.h b/include/uapi/rdma/hns-abi.h index ef3c7ec793a7..eb76b38a00d4 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; |