OSDN Git Service

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)
commit66247fbb280c2a699a8621708c52dae6acd2e4bc
tree7afe292c6f10fda003f4bf5d1b62c8c08d4a06c7
parent57a6c5e992f5d6ab92764a7eaaba855f6d4b2df8
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