Re: [PATCH rdma-next] RDMA/mlx5: Remove warn on missing representor in query_port_speed
From: Leon Romanovsky
Date: Tue Sep 01 2026 - 09:35:18 EST
On Tue, 11 Aug 2026 19:25:57 +0300, Edward Srouji wrote:
> The representor ib_device's phys_port_cnt is set to the total vport
> count when the uplink vport rep loads. Individual port[i].rep entries
> are populated only as each VF/SF vport rep registers. A NULL .rep for
> a given port index is therefore expected while VF reps are still
> loading or haven't been enabled yet.
>
> Tools like ibstat and ibv_devinfo iterate over all ports of all RDMA
> devices. Some ports may not have an eswitch representor, causing
> repeated dmesg warnings when these tools run without a device argument.
> This causes dmesg to be flooded with this message on every ibstat
> invocation.
>
> [...]
Applied, thanks!
[1/1] RDMA/mlx5: Remove warn on missing representor in query_port_speed
https://git.kernel.org/rdma/rdma/c/2be77295316c2d
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>