summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorLijun Ou2018-11-24 09:49:21 +0100
committerJason Gunthorpe2018-12-05 15:59:13 +0100
commitc7bcb13442e1bd8a4cc41c74540dd2e2f7058d16 (patch)
tree301ae2312829b4db8f8d9eba2d5ad8cd647f4ecc /include/uapi
parentRDMA/hns: Init SRQ table for hip08 (diff)
downloadkernel-qcow2-linux-c7bcb13442e1bd8a4cc41c74540dd2e2f7058d16.tar.gz
kernel-qcow2-linux-c7bcb13442e1bd8a4cc41c74540dd2e2f7058d16.tar.xz
kernel-qcow2-linux-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;