diff options
author | Michael Guralnik <michaelgur@nvidia.com> | 2024-04-03 12:03:46 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-04-08 13:33:10 +0300 |
commit | be121ffb384f53e966ee7299ffccc6eeb61bc73d (patch) | |
tree | cbd5c5b315b9c9154ebf87c40ba288b06cf9a3c4 /scripts/test_fortify.sh | |
parent | b68e1acb5834ed1a2ad42d9d002815a8bae7c0b6 (diff) | |
download | linux-be121ffb384f53e966ee7299ffccc6eeb61bc73d.tar.xz |
RDMA/mlx5: Fix port number for counter query in multi-port configuration
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>
Diffstat (limited to 'scripts/test_fortify.sh')
0 files changed, 0 insertions, 0 deletions