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

Leon Romanovsky <[email protected]> Wed, 29 Jul 2026 07:40:53 -0400
Newsgroups org.kernel.vger.linux-rdma,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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 <[email protected]>