[PATCH OLK-6.6] RDMA/hns: Fix the compatibility between the kernel mode and user mode

From: Yuyu Li <liyuyu6@huawei.com> driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IC1T6B ---------------------------------------------------------------------- This patch modifies the hns-abi.h file and fixes the inconsistency between the kernel-mode ABI and user-mode ABI. Fixes: 0e6c7aaae120 ("RDMA/hns: Optimize user DCA perfermance by sharing DCA status") Signed-off-by: Yuyu Li <liyuyu6@huawei.com> Signed-off-by: Xinghai Cen <cenxinghai@h-partners.com> --- include/uapi/rdma/hns-abi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/rdma/hns-abi.h b/include/uapi/rdma/hns-abi.h index c73ff42c49bf..8a8f2e4f1bea 100644 --- a/include/uapi/rdma/hns-abi.h +++ b/include/uapi/rdma/hns-abi.h @@ -157,9 +157,9 @@ enum hns_roce_uctx_comp_mask { struct hns_roce_ib_alloc_ucontext { __u32 config; - __u32 reserved; __u32 comp; /* use hns_roce_uctx_comp_mask */ __u32 dca_max_qps; + __u32 reserved; }; struct hns_roce_ib_alloc_pd_resp { -- 2.33.0

反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/15986 邮件列表地址:https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/message/TH3... FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/15986 Mailing list address: https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/message/TH3...
participants (2)
-
Junxian Huang
-
patchwork bot