]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/core: Add FRMR pools statistics
authorMichael Guralnik <michaelgur@nvidia.com>
Thu, 26 Feb 2026 13:52:09 +0000 (15:52 +0200)
committerLeon Romanovsky <leon@kernel.org>
Mon, 2 Mar 2026 18:45:10 +0000 (13:45 -0500)
commit304725adecd7b1e08c5cd810d761e9c218839b12
tree55625e4a9ec10eba84e5bf955843ba3f4029b6d7
parent84cb1dd06fc47c5a7bb797a83bf3a776dcd28afd
RDMA/core: Add FRMR pools statistics

Count for each pool the number of FRMR handles popped and held by user
MRs.
Also keep track of the max value of this counter.

Next patches will expose the statistics through netlink.

Signed-off-by: Michael Guralnik <michaelgur@nvidia.com>
Reviewed-by: Yishai Hadas <yishaih@nvidia.com>
Signed-off-by: Edward Srouji <edwards@nvidia.com>
Link: https://patch.msgid.link/20260226-frmr_pools-v4-4-95360b54f15e@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/core/frmr_pools.c
drivers/infiniband/core/frmr_pools.h