Luoyouming 5e617c18b1 RDMA/hns: Add check for SL
SL set by users may exceed the capability of devices. So add check
for this situation.

Fixes: fba429fcf9a5 ("RDMA/hns: Fix missing fields in address vector")
Fixes: 70f92521584f ("RDMA/hns: Use the reserved loopback QPs to free MR before destroying MPT")
Fixes: f0cb411aad23 ("RDMA/hns: Use new interface to modify QP context")
Signed-off-by: Luoyouming <luoyouming@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20231017125239.164455-5-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2023-10-19 09:49:40 +03:00
..
Hi,
2023-09-13 11:44:20 -07:00
2023-09-22 09:25:26 -07:00
2023-09-22 15:43:44 +10:00
2023-10-19 09:49:40 +03:00
2023-09-14 16:20:31 -06:00
2023-09-19 13:17:52 +01:00
2023-09-21 10:33:49 +02:00