Commit 84fdb438 authored by Shunfeng Yang's avatar Shunfeng Yang Committed by Yang Yingliang
Browse files

RDMA/hns: Force srq_limit to 0 when creating SRQ



mainline inclusion
from mainline-v5.12
commit b5df9b7a
category: bugfix
bugzilla: NA
CVE: NA

According to the IB Specification, srq_limit shouldn't be configured
during SRQ creation. If a user set srq_limit at this time, the driver
should forced it to zero, or the result of creating SRQ will conflict with
the result of querying SRQ.

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 bc7c4b74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment