summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorLijun Ou <oulijun@huawei.com>2018-11-24 16:49:21 +0800
committerJason Gunthorpe <jgg@mellanox.com>2018-12-05 07:59:13 -0700
commitc7bcb13442e1bd8a4cc41c74540dd2e2f7058d16 (patch)
tree301ae2312829b4db8f8d9eba2d5ad8cd647f4ecc /include/uapi
parent5c1f167af112746eb97621f12b4053d4f66c0357 (diff)
downloadlinux-stable-c7bcb13442e1bd8a4cc41c74540dd2e2f7058d16.tar.gz
linux-stable-c7bcb13442e1bd8a4cc41c74540dd2e2f7058d16.tar.bz2
linux-stable-c7bcb13442e1bd8a4cc41c74540dd2e2f7058d16.zip
RDMA/hns: Add SRQ support for hip08 kernel mode
This patch implements the SRQ(Share Receive Queue) verbs and update the poll cq verbs to deal with SRQ complentions. Signed-off-by: Lijun Ou <oulijun@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/rdma/hns-abi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/rdma/hns-abi.h b/include/uapi/rdma/hns-abi.h
index c1f87735514f..ef3c7ec793a7 100644
--- a/include/uapi/rdma/hns-abi.h
+++ b/include/uapi/rdma/hns-abi.h
@@ -46,6 +46,12 @@ struct hns_roce_ib_create_cq_resp {
__aligned_u64 cap_flags;
};
+struct hns_roce_ib_create_srq {
+ __aligned_u64 buf_addr;
+ __aligned_u64 db_addr;
+ __aligned_u64 que_addr;
+};
+
struct hns_roce_ib_create_qp {
__aligned_u64 buf_addr;
__aligned_u64 db_addr;