IB/mlx5: Add counter set id as a parameter for mlx5_ib_query_q_counters()
authorMark Zhang <markz@mellanox.com>
Tue, 2 Jul 2019 10:02:37 +0000 (13:02 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 5 Jul 2019 13:22:55 +0000 (10:22 -0300)
commit318d535cefecf2227ab20ec6e2961f9830c96e9b
tree343b25409e37dbf39be25de8388776aac864e51e
parentd14133dd41614aaaac1fa0505c7dab01f4211d2c
IB/mlx5: Add counter set id as a parameter for mlx5_ib_query_q_counters()

Add counter set id as a parameter so that this API can be used for
querying any q counter.

Signed-off-by: Mark Zhang <markz@mellanox.com>
Reviewed-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c