提交 a77029a8 编写于 作者: L Luoyouming 提交者: ZhouJuan

RDMA/hns: Fix the inconsistency between the rq inline bit and the community

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6ZBLL

---------------------------------------------------------------

In the community version, the rq inline bit is set to 2.
This patch is used for synchronization.

Fixes: d67087cc ("RDMA/hns: Remove enable rq inline in kernel and add compatibility handling")
Signed-off-by: NLuoyouming <luoyouming@huawei.com>
上级 a37994ad
......@@ -143,8 +143,7 @@ enum hns_roce_qp_create_flags {
enum {
HNS_ROCE_CAP_FLAG_REREG_MR = BIT(0),
HNS_ROCE_CAP_FLAG_ROCE_V1_V2 = BIT(1),
/* discard this bit, reserved for compatibility */
HNS_ROCE_CAP_FLAG_DISCARD = BIT(2),
HNS_ROCE_CAP_FLAG_RQ_INLINE = BIT(2),
HNS_ROCE_CAP_FLAG_CQ_RECORD_DB = BIT(3),
HNS_ROCE_CAP_FLAG_QP_RECORD_DB = BIT(4),
HNS_ROCE_CAP_FLAG_SRQ = BIT(5),
......@@ -159,7 +158,6 @@ enum {
HNS_ROCE_CAP_FLAG_DCA_MODE = BIT(15),
HNS_ROCE_CAP_FLAG_STASH = BIT(17),
HNS_ROCE_CAP_FLAG_CQE_INLINE = BIT(19),
HNS_ROCE_CAP_FLAG_RQ_INLINE = BIT(20),
HNS_ROCE_CAP_FLAG_BOND = BIT(21),
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册