Commit 1a9c4e4f authored by Shunfeng Yang's avatar Shunfeng Yang Committed by Yang Yingliang
Browse files

RDMA/hns: Fix wrong timer context buffer page size



mainline inclusion
from mainline-v5.14
commit 5e6370d7
category: bugfix
bugzilla: NA
CVE: NA

The HEM page size for QPC timer and CQC timer is always 4K and there's no need to calculate a different size by the hns driver,
otherwise the ROCEE may access an invalid address.

Signed-off-by: default avatarShunfeng Yang <yangshunfeng2@huawei.com>
Signed-off-by: default avatarYangyang Li <liyangyang20@huawei.com>
Reviewed-by: default avatarchunzhi hu <huchunzhi@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 38d28c1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment