aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/counters.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-07-23 10:31:16 +0300
committerDoug Ledford <dledford@redhat.com>2019-07-29 11:33:28 -0400
commit5dcecbc96755793e9417a9135b290d16639ec6aa (patch)
tree472230b29c12069be5ba4cc3e0db3353d38198cf /drivers/infiniband/core/counters.c
parentqed*: Change dpi_addr to be denoted with __iomem (diff)
downloadlinux-dev-5dcecbc96755793e9417a9135b290d16639ec6aa.tar.xz
linux-dev-5dcecbc96755793e9417a9135b290d16639ec6aa.zip
IB/mlx5: Refactor code for counters allocation
To support per device counters in switchdev mode (instead of per port counter), refactor query routines to work on mlx5_ib_counter structure instead of mlx5_ib_port structure. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Link: https://lore.kernel.org/r/20190723073117.7175-2-leon@kernel.org Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/counters.c')
0 files changed, 0 insertions, 0 deletions