42 lines
1.1 KiB
Diff
42 lines
1.1 KiB
Diff
|
|
From 693d55e80976217215844258e5b78bc115382689 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Guofeng Yue <yueguofeng@hisilicon.com>
|
||
|
|
Date: Mon, 10 Jan 2022 10:44:23 +0800
|
||
|
|
Subject: [PATCH 1/8] Update kernel headers
|
||
|
|
|
||
|
|
To commit 62c4d8878d13 ("RDMA/hns: Remove support for HIP06").
|
||
|
|
|
||
|
|
Signed-off-by: Guofeng Yue <yueguofeng@hisilicon.com>
|
||
|
|
---
|
||
|
|
kernel-headers/rdma/hns-abi.h | 6 ++++--
|
||
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/kernel-headers/rdma/hns-abi.h b/kernel-headers/rdma/hns-abi.h
|
||
|
|
index 42b17765..abfd36e2 100644
|
||
|
|
--- a/kernel-headers/rdma/hns-abi.h
|
||
|
|
+++ b/kernel-headers/rdma/hns-abi.h
|
||
|
|
@@ -77,17 +77,19 @@ enum hns_roce_qp_cap_flags {
|
||
|
|
HNS_ROCE_QP_CAP_RQ_RECORD_DB = 1 << 0,
|
||
|
|
HNS_ROCE_QP_CAP_SQ_RECORD_DB = 1 << 1,
|
||
|
|
HNS_ROCE_QP_CAP_OWNER_DB = 1 << 2,
|
||
|
|
+ HNS_ROCE_QP_CAP_DIRECT_WQE = 1 << 5,
|
||
|
|
};
|
||
|
|
|
||
|
|
struct hns_roce_ib_create_qp_resp {
|
||
|
|
__aligned_u64 cap_flags;
|
||
|
|
+ __aligned_u64 dwqe_mmap_key;
|
||
|
|
};
|
||
|
|
|
||
|
|
struct hns_roce_ib_alloc_ucontext_resp {
|
||
|
|
__u32 qp_tab_size;
|
||
|
|
__u32 cqe_size;
|
||
|
|
- __u32 srq_tab_size;
|
||
|
|
- __u32 reserved;
|
||
|
|
+ __u32 srq_tab_size;
|
||
|
|
+ __u32 reserved;
|
||
|
|
};
|
||
|
|
|
||
|
|
struct hns_roce_ib_alloc_pd_resp {
|
||
|
|
--
|
||
|
|
2.33.0
|
||
|
|
|