Re: [PATCH rdma-next] RDMA/mlx5: Send cong param changes to the resolved port mdev

From: Leon Romanovsky

Date: Wed Jul 29 2026 - 08:09:50 EST



On Sun, 26 Jul 2026 12:22:11 +0300, Leon Romanovsky wrote:
> mlx5_ib_set_cc_params() resolves the port-specific mlx5_core_dev via
> mlx5_ib_get_native_port_mdev() but issued MLX5_CMD_OP_MODIFY_CONG_PARAMS
> through dev->mdev. On an affiliated secondary RoCE port those pointers
> refer to different devices, so a write to the secondary port's cc_params
> debugfs file either altered the master port or failed with a master-side
> command error, while the read path already used the resolved mdev and
> returned the unchanged secondary value.
>
> [...]

Applied, thanks!

[1/1] RDMA/mlx5: Send cong param changes to the resolved port mdev
https://git.kernel.org/rdma/rdma/c/033a79e308e4fe

Best regards,
--
Leon Romanovsky <leonro@xxxxxxxxxx>