]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/netlink: Implement counter dumpit calback
authorMark Zhang <markz@mellanox.com>
Tue, 2 Jul 2019 10:02:40 +0000 (13:02 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 5 Jul 2019 13:22:55 +0000 (10:22 -0300)
commit4bbefcbef23306f46a08b2c43d73295df17d7a39
treeed75e314d5e0132be0ac53ff0b718ec79af2df0c
parentf58ff1f796012f85565d1c1f0b619975273e3126
RDMA/netlink: Implement counter dumpit calback

This patch adds the ability to return all available counters together with
their properties and hwstats.

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/core/counters.c
drivers/infiniband/core/device.c
drivers/infiniband/core/nldev.c
include/rdma/ib_verbs.h
include/rdma/rdma_counter.h
include/uapi/rdma/rdma_netlink.h