]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/hns: The UD mode can only be configured with DCQCN
authorLuoyouming <luoyouming@huawei.com>
Tue, 17 Oct 2023 12:52:37 +0000 (20:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:08:23 +0000 (11:08 +0100)
commit904fc010377648cc134a098428ed21ea58b408d5
tree6ed44e1cf345a47bbe051972fe1768113e813cd3
parent9f8db02d30ad0cf6ad144242b6ffabb3b137a3e3
RDMA/hns: The UD mode can only be configured with DCQCN

[ Upstream commit 27c5fd271d8b8730fc0bb1b6cae953ad7808a874 ]

Due to hardware limitations, only DCQCN is supported for UD. Therefore, the
default algorithm for UD is set to DCQCN.

Fixes: f91696f2f053 ("RDMA/hns: Support congestion control type selection according to the FW")
Signed-off-by: Luoyouming <luoyouming@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20231017125239.164455-6-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c