]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Remove Q counter low level helper APIs
authorLeon Romanovsky <leonro@mellanox.com>
Fri, 3 Apr 2020 08:28:28 +0000 (11:28 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Sun, 19 Apr 2020 12:53:20 +0000 (15:53 +0300)
commit2ece49a7576e667706fe19f1f1314171f07e320c
tree7afe292c6f10fda003f4bf5d1b62c8c08d4a06c7
parent18dfdbdbcb2ff20f0e7acd178454bb55c3c38eac
net/mlx5: Remove Q counter low level helper APIs

mlx5 core users are encouraged to use low level API (mlx5_cmd_exec)
without the need of helper functions, do this for q counters, remove
helper functions and call mlx5_cmd_exec directly from users.

This will help reduce the total amount of code and reduction of the
mlx5_core symbol table.

Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/hw/mlx5/main.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c
drivers/net/ethernet/mellanox/mlx5/core/qp.c
include/linux/mlx5/qp.h