IB/mlx5: Add counter_alloc_stats() and counter_update_stats() support
authorMark Zhang <markz@mellanox.com>
Tue, 2 Jul 2019 10:02:41 +0000 (13:02 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 5 Jul 2019 13:22:55 +0000 (10:22 -0300)
commit18d422ce8ccf47c65b98c2ce9e1758d84c8434eb
treecee76abe48346fce0ba692e0623a93d2aeec9f7c
parentc4ffee7c9bdba7b189df3251e375c4c7e93a91ac
IB/mlx5: Add counter_alloc_stats() and counter_update_stats() support

Add support for ib callback counter_alloc_stats() and
counter_update_stats().

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