]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/nldev: Add command to set pinned FRMR handles
authorMichael Guralnik <michaelgur@nvidia.com>
Thu, 26 Feb 2026 13:52:15 +0000 (15:52 +0200)
committerLeon Romanovsky <leon@kernel.org>
Thu, 5 Mar 2026 10:41:02 +0000 (05:41 -0500)
commitda73d7634f61a1d5dbedc237f392c04ae487ca46
treed3f1185544cb56bb9efbe477ecfe1cda64e338b4
parentd2ea675e86bab6563bbc0841e6c74eef54e83be7
RDMA/nldev: Add command to set pinned FRMR handles

Allow users to set through netlink, for a specific FRMR pool, the amount
of handles that are not aged, and fill the pool to this amount.

This allows users to warm-up the FRMR pools to an expected amount of
handles with specific attributes that fits their expected usage.

Signed-off-by: Michael Guralnik <michaelgur@nvidia.com>
Reviewed-by: Patrisious Haddad <phaddad@nvidia.com>
Signed-off-by: Edward Srouji <edwards@nvidia.com>
Link: https://patch.msgid.link/20260226-frmr_pools-v4-10-95360b54f15e@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/core/nldev.c
include/uapi/rdma/rdma_netlink.h