kernel_samsung_a53x/drivers/infiniband/hw/mlx5
Michael Guralnik cb28d4b50d 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>
2024-11-19 11:32:21 +01:00
..
ah.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cong.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
counters.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
counters.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
devx.c RDMA/mlx5: Relax DEVX access upon modify commands 2024-11-19 08:44:35 +01:00
devx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
doorbell.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gsi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ib_rep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ib_rep.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ib_virt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mad.c RDMA/mlx5: Fix port number for counter query in multi-port configuration 2024-11-19 11:32:21 +01:00
main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mlx5_ib.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
odp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qos.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qp.c IB/mlx5: Fix rdma counter binding for RAW QP 2024-11-18 11:43:03 +01:00
qp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qpc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
restrack.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
restrack.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
srq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
srq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
srq_cmd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
std_types.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wr.c RDMA/mlx5: Fix fortify source warning while accessing Eth segment 2024-11-19 08:44:35 +01:00
wr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00