Skip to content
Commit 5e617c18 authored by Luoyouming's avatar Luoyouming Committed by Leon Romanovsky
Browse files

RDMA/hns: Add check for SL

SL set by users may exceed the capability of devices. So add check
for this situation.

Fixes: fba429fc ("RDMA/hns: Fix missing fields in address vector")
Fixes: 70f92521 ("RDMA/hns: Use the reserved loopback QPs to free MR before destroying MPT")
Fixes: f0cb411a

 ("RDMA/hns: Use new interface to modify QP context")
Signed-off-by: default avatarLuoyouming <luoyouming@huawei.com>
Signed-off-by: default avatarJunxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20231017125239.164455-5-huangjunxian6@hisilicon.com
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent b5f9efff
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment