]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/core: Create and destroy counters in the ib_core
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 30 Jun 2020 10:18:52 +0000 (13:18 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 6 Jul 2020 23:04:40 +0000 (20:04 -0300)
commit5738cf49a408850271809cd6a01709222005882e
tree1b818806e1542624b9603b2ab194b105b8c0655e
parent25b02453fa93305bbde2378fbe85c046fc3a3ab4
RDMA/core: Create and destroy counters in the ib_core

Move allocation and destruction of counters under ib_core responsibility

Link: https://lore.kernel.org/r/20200630101855.368895-2-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/device.c
drivers/infiniband/core/uverbs_std_types_counters.c
drivers/infiniband/hw/mlx5/main.c
include/rdma/ib_verbs.h