]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Add counters read support
authorRaed Salem <raeds@mellanox.com>
Thu, 31 May 2018 13:43:41 +0000 (16:43 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Sat, 2 Jun 2018 04:35:37 +0000 (07:35 +0300)
commitac3b8b880688339576d6923c676700006531fd8c
treeb62331cbb5f9c4627efa06bff7501ecf4b3fc60e
parentfb0e9547d097b481a6cf0863728baec25267d3a6
IB/mlx5: Add counters read support

This patch implements the uverbs counters read API, it will use the
specific read counters function to the given type to accomplish its
task.

Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Raed Salem <raeds@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c