Skip to contentSkip to conversation

IB/mlx5: Fix missing congestion control debugfs on rep rdma device

PATCH Applied Leon Romanovsky 2 participants 2 messages Feb 27, 2020 – Mar 4, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IB/mlx5: Fix missing congestion control debugfs on rep rdma device

From: Parav Pandit <[email protected]>

Cited commit missed to include low level congestion control related debugfs stage initialization.
This resulted in missing debugfs entries for cc_params of a RDMA device.

Add them back.

Fixes b5ca15ad7e61 ("IB/mlx5: Add proper representors support")
---
 drivers/infiniband/hw/mlx5/main.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/infiniband/hw/mlx5/main.c +3 -0
index ec8ed90d2b60..f5d42985113c 100644
@@ -7080,6 +7080,9 @@ const struct mlx5_ib_profile raw_eth_profile = {
 	STAGE_CREATE(MLX5_IB_STAGE_COUNTERS,
 		     mlx5_ib_stage_counters_init,
 		     mlx5_ib_stage_counters_cleanup),
+	STAGE_CREATE(MLX5_IB_STAGE_CONG_DEBUGFS,
+		     mlx5_ib_stage_cong_debugfs_init,
+		     mlx5_ib_stage_cong_debugfs_cleanup),
 	STAGE_CREATE(MLX5_IB_STAGE_UAR,
 		     mlx5_ib_stage_uar_init,
 		     mlx5_ib_stage_uar_cleanup),

--
2.24.1

#1 lore raw
Quoted 9 lines · Leon Romanovsky

From: Parav Pandit <[email protected]>

Cited commit missed to include low level congestion control related debugfs stage initialization.
This resulted in missing debugfs entries for cc_params of a RDMA device.

Add them back.

Quoted 7 lines
Fixes b5ca15ad7e61 ("IB/mlx5: Add proper representors support")
---
 drivers/infiniband/hw/mlx5/main.c | 3 +++
 1 file changed, 3 insertions(+)

Applied to for-next, thanks

Jason