RDMA/mlx5: Move function mlx5_core_query_ib_ppcnt() to mlx5_ib
authorChris Mi <cmi@nvidia.com>
Mon, 29 Aug 2022 09:06:04 +0000 (12:06 +0300)
committerLeon Romanovsky <leon@kernel.org>
Mon, 5 Sep 2022 12:09:03 +0000 (15:09 +0300)
commit8a2dd123f12f69e5373d3103da2c97fc36223e0c
treec07c972de840aeff42242699c6ee85ffb5141522
parentb0bb369ee451323968b31392a86398f15a2ba183
RDMA/mlx5: Move function mlx5_core_query_ib_ppcnt() to mlx5_ib

This patch doesn't change any functionality, but move one function
to mlx5_ib because it is not used by mlx5_core.

The actual fix is in the next patch.

Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Chris Mi <cmi@nvidia.com>
Link: https://lore.kernel.org/r/fd47b9138412bd94ed30f838026cbb4cf3878150.1661763871.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/mad.c
drivers/net/ethernet/mellanox/mlx5/core/port.c
include/linux/mlx5/driver.h