linux/drivers/infiniband/hw/hns
Junxian Huang 38772f6672 RDMA/hns: Fix unnecessary err return when using invalid congest control algorithm
[ Upstream commit efb9cbf664 ]

Add a default congest control algorithm so that driver won't return
an error when the configured algorithm is invalid.

Fixes: f91696f2f0 ("RDMA/hns: Support congestion control type selection according to the FW")
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20231028093242.670325-1-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-12-13 18:45:12 +01:00
..
hns_roce_ah.c RDMA/hns: Add check for SL 2023-11-20 11:59:21 +01:00
hns_roce_alloc.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cmd.c RDMA/hns: Remove similar code that configures the hardware contexts 2022-03-04 17:36:31 -04:00
hns_roce_cmd.h RDMA/hns: Remove similar code that configures the hardware contexts 2022-03-04 17:36:31 -04:00
hns_roce_common.h RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cq.c RDMA/hns: Unified Log Printing Style 2022-09-27 10:15:25 -03:00
hns_roce_db.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_device.h RDMA/hns: Support hns HW stats 2023-08-19 14:26:34 +03:00
hns_roce_hem.c RDMA: Remove unnecessary ternary operators 2023-07-31 15:16:12 +03:00
hns_roce_hem.h RDMA/hns: Remove redundant 'phy_addr' in hns_roce_hem_list_find_mtt() 2022-09-27 10:15:25 -03:00
hns_roce_hw_v2.c RDMA/hns: Fix unnecessary err return when using invalid congest control algorithm 2023-12-13 18:45:12 +01:00
hns_roce_hw_v2.h RDMA/hns: Support hns HW stats 2023-08-19 14:26:34 +03:00
hns_roce_main.c RDMA/hns: Fix init failure of RoCE VF and HIP08 2023-11-20 11:59:21 +01:00
hns_roce_mr.c RDMA/hns: Fix base address table allocation 2023-05-17 16:05:00 -03:00
hns_roce_pd.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_qp.c RDMA/hns: Fix uninitialized ucmd in hns_roce_create_qp_common() 2023-11-20 11:59:21 +01:00
hns_roce_restrack.c RDMA/hns: Dump whole QP/CQ/MR resource in raw 2023-08-19 14:26:08 +03:00
hns_roce_srq.c RDMA/hns: Refactor the alloc_srqc() 2022-03-04 17:36:32 -04:00
Kconfig RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
Makefile RDMA/hns: Remove redundant DFX file and DFX ops structure 2022-08-23 11:34:42 +03:00