RDMA/hns: Bugfix for cqe hem init
driver inclusion
category: bugfix
bugzilla: NA
CVE: NA
In the current version, if using parameter cqe_entry_sz
for hns_roce_init_hem_table(), there may be thread failure
when running connect_data_arm as below:
thread 1 end with success
thread 3 end with success
thread 2 end with failure
thread 0 end with failure
As a necessary parameter for the next process, cqe_entry_sz
should be replaced by mtt_entry_sz
Fixes: f6b37f5d758b ("RDMA/hns:Fix bug that caused srq creation to fail")
Signed-off-by:
liyangyang <liyangyang20@huawei.com>
Signed-off-by:
liyangyang20 <liyangyang20@huawei.com>
Reviewed-by:
wangxi <wangxi11@huawei.com>
Reviewed-by:
chenglang <chenglang@huawei.com>
Reviewed-by:
liuyixian <liuyixian@huawei.com>
Reviewed-by:
Xie XiuQi <xiexiuqi@huawei.com>
Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment