Re: [PATCH rdma-next v2] IB/mlx5: Fix port speed query for representors

From: Leon Romanovsky

Date: Sun Jan 18 2026 - 11:37:28 EST



On Thu, 15 Jan 2026 14:26:45 +0200, Edward Srouji wrote:
> When querying speed information for a representor in switchdev mode,
> the code previously used the first device in the eswitch, which may not
> match the device that actually owns the representor. In setups such as
> multi-port eswitch or LAG, this led to incorrect port attributes being
> reported.
>
> Fix this by retrieving the correct core device from the representor's
> eswitch before querying its port attributes.
>
> [...]

Applied, thanks!

[1/1] IB/mlx5: Fix port speed query for representors
https://git.kernel.org/rdma/rdma/c/18ea78e2ae83d1

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