summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Guralnik <michaelgur@nvidia.com>2024-04-03 12:03:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-27 18:12:53 +0300
commit85235e282aead13fc4105e44900e326b830161bd (patch)
tree8c9933cac7ceb06b73af82740c17f749422412a2 /tools
parentbe2f19a3bc7773e578f6d81336a91398764d5c85 (diff)
downloadlinux-85235e282aead13fc4105e44900e326b830161bd.tar.xz
RDMA/mlx5: Fix port number for counter query in multi-port configuration
[ Upstream commit be121ffb384f53e966ee7299ffccc6eeb61bc73d ] Set the correct port when querying PPCNT in multi-port configuration. Distinguish between cases where switchdev mode was enabled to multi-port configuration and don't overwrite the queried port to 1 in multi-port case. Fixes: 74b30b3ad5ce ("RDMA/mlx5: Set local port to one when accessing counters") Signed-off-by: Michael Guralnik <michaelgur@nvidia.com> Link: https://lore.kernel.org/r/9bfcc8ade958b760a51408c3ad654a01b11f7d76.1712134988.git.leon@kernel.org Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions