Add an interface to the user space, which is used to receive the kernel reset state. After receiving the reset flag, the user space stops sending db. Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
29 lines
846 B
Diff
29 lines
846 B
Diff
From 8a5429161e6932d4031ec705b695973d67729c71 Mon Sep 17 00:00:00 2001
|
|
From: Yixing Liu <liuyixing1@huawei.com>
|
|
Date: Wed, 14 Dec 2022 16:37:26 +0800
|
|
Subject: [PATCH rdma-core 1/2] Update kernel headers
|
|
|
|
To commit ?? ("RDMA/hns: Kernel notify usr space to stop ring db").
|
|
|
|
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
|
|
Reviewed-by: Yangyang Li <liyangyang20@huawei.com>
|
|
---
|
|
kernel-headers/rdma/hns-abi.h | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/kernel-headers/rdma/hns-abi.h b/kernel-headers/rdma/hns-abi.h
|
|
index 6950841..5988a62 100644
|
|
--- a/kernel-headers/rdma/hns-abi.h
|
|
+++ b/kernel-headers/rdma/hns-abi.h
|
|
@@ -127,6 +127,7 @@ struct hns_roce_ib_alloc_ucontext_resp {
|
|
__u32 dca_qps;
|
|
__u32 dca_mmap_size;
|
|
__aligned_u64 dca_mmap_key;
|
|
+ __aligned_u64 reset_mmap_key;
|
|
};
|
|
|
|
enum hns_roce_uctx_comp_mask {
|
|
--
|
|
2.30.0
|
|
|