]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/mlx5: Support per-plane port IB counters by querying PPCNT register
authorMark Zhang <markzhang@nvidia.com>
Sun, 16 Jun 2024 16:08:44 +0000 (19:08 +0300)
committerLeon Romanovsky <leonro@nvidia.com>
Mon, 1 Jul 2024 12:38:05 +0000 (15:38 +0300)
commit7a2210a57d423cbdb9c5f2e8b12c65d7472ff147
tree77eaae01f7461c577acc3fd4f20d26094ac52e15
parentc6b6677d85d47f5562020aa082d9b5f90738fdcd
RDMA/mlx5: Support per-plane port IB counters by querying PPCNT register

Supports per-plane port counters by querying PPCNT register with the
"extended port counters" group, as the query_vport_counter command
doesn't support plane ports.

Signed-off-by: Mark Zhang <markzhang@nvidia.com>
Link: https://lore.kernel.org/r/06ffb582d67159b7def4654c8272d3d6e8bd2f2f.1718553901.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/infiniband/hw/mlx5/mad.c
include/linux/mlx5/device.h