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: NShunfeng Yang <yangshunfeng2@huawei.com> Signed-off-by: NYangyang Li <liyangyang20@huawei.com> Reviewed-by: Nchunzhi hu <huchunzhi@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录