aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorAharon Landau <aharonl@nvidia.com>2021-10-08 15:24:31 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-10-12 12:48:05 -0300
commit0dc89684605e8b60af645988d3e0d80a57b6e937 (patch)
tree8dda40e1b38c27ae722a896322d78a83eae79d9f /init
parentRDMA/core: Add a helper API rdma_free_hw_stats_struct (diff)
downloadlinux-dev-0dc89684605e8b60af645988d3e0d80a57b6e937.tar.xz
linux-dev-0dc89684605e8b60af645988d3e0d80a57b6e937.zip
RDMA/counter: Add an is_disabled field in struct rdma_hw_stats
Add a bitmap in rdma_hw_stat structure, with each bit indicates whether the corresponding counter is currently disabled or not. By default hwcounters are enabled. Link: https://lore.kernel.org/r/20211008122439.166063-6-markzhang@nvidia.com Signed-off-by: Aharon Landau <aharonl@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Mark Zhang <markzhang@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions