提交 391ff9ef 编写于 作者: Y Yangyang Li 提交者: Xie XiuQi

RDMA/hns: Modify ba page size for cqe

driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

Currently, the depth of cq only supports 64K.
According to the UM, the depth of cq is up to 4M,
Therefore the ba page size of cqe was modified to
support the maximun specification of cq depth.

Feature or Bugfix:Bugfix
Signed-off-by: NYangyang Li <liyangyang20@huawei.com>
Signed-off-by: Nliyangyang (M) <liyangyang20@huawei.com>
Reviewed-by: Nliuyixian <liuyixian@huawei.com>
Reviewed-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 587bab28
...@@ -1824,7 +1824,7 @@ static int hns_roce_v2_profile(struct hns_roce_dev *hr_dev) ...@@ -1824,7 +1824,7 @@ static int hns_roce_v2_profile(struct hns_roce_dev *hr_dev)
caps->wqe_sq_hop_num = 2; caps->wqe_sq_hop_num = 2;
caps->wqe_sge_hop_num = 1; caps->wqe_sge_hop_num = 1;
caps->wqe_rq_hop_num = 2; caps->wqe_rq_hop_num = 2;
caps->cqe_ba_pg_sz = 0; caps->cqe_ba_pg_sz = 6;
caps->cqe_buf_pg_sz = 0; caps->cqe_buf_pg_sz = 0;
caps->cqe_hop_num = HNS_ROCE_CQE_HOP_NUM; caps->cqe_hop_num = HNS_ROCE_CQE_HOP_NUM;
caps->srqwqe_ba_pg_sz = 0; caps->srqwqe_ba_pg_sz = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册