summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorOr Har-Toov <ohartoov@nvidia.com>2026-01-15 14:26:45 +0200
committerLeon Romanovsky <leon@kernel.org>2026-01-18 11:36:59 -0500
commit18ea78e2ae83d1d86a72d21d9511927e57e2c0e1 (patch)
tree43df3fe33097d7958b42b025299e91824cbe73a5 /rust/alloc/collections/git@git.tavy.me:linux.git
parentebc2164a4cd4314503f1a0c8e7aaf76d7e5fa211 (diff)
IB/mlx5: Fix port speed query for representors
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. Fixes: 27f9e0ccb6da ("net/mlx5: Lag, Add single RDMA device in multiport mode") Signed-off-by: Or Har-Toov <ohartoov@nvidia.com> Reviewed-by: Mark Bloch <mbloch@nvidia.com> Signed-off-by: Edward Srouji <edwards@nvidia.com> Link: https://patch.msgid.link/20260115-port-speed-query-fix-v2-1-3bde6a3c78e7@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions