]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Add counters create and destroy support
authorRaed Salem <raeds@mellanox.com>
Thu, 31 May 2018 13:43:38 +0000 (16:43 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Sat, 2 Jun 2018 04:33:57 +0000 (07:33 +0300)
commita08340002ebd19894bd8ad212370b71a6874ac22
treecffa41a7342a2168707ebbb31e780b367156a94f
parente585960716439cb7fe33b3ce164cd343ed64fa2c
IB/mlx5: Add counters create and destroy support

This patch implements the device counters create and destroy APIs and
introducing some internal management structures.

Downstream patches in this series will add the functionality to support
flow counters binding and reading.

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
drivers/infiniband/hw/mlx5/mlx5_ib.h