summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Guralnik <michaelgur@nvidia.com>2026-02-26 16:52:16 +0300
committerLeon Romanovsky <leon@kernel.org>2026-03-05 13:41:02 +0300
commitdbd0472fd7a5bdd0b86c21c36f8afa713baa7653 (patch)
tree4a40a7cf6f3638de2104c0b1bce642111cbb4b8d /include
parentda73d7634f61a1d5dbedc237f392c04ae487ca46 (diff)
downloadlinux-dbd0472fd7a5bdd0b86c21c36f8afa713baa7653.tar.xz
RDMA/nldev: Expose kernel-internal FRMR pools in netlink
Allow netlink users, through the usage of driver-details netlink attribute, to get information about internal FRMR pools that use the kernel_vendor_key FRMR key member. 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-11-95360b54f15e@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/rdma/rdma_netlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
index 39178df104f0..aac9782ddc09 100644
--- a/include/uapi/rdma/rdma_netlink.h
+++ b/include/uapi/rdma/rdma_netlink.h
@@ -602,6 +602,7 @@ enum rdma_nldev_attr {
RDMA_NLDEV_ATTR_FRMR_POOL_IN_USE, /* u64 */
RDMA_NLDEV_ATTR_FRMR_POOLS_AGING_PERIOD, /* u32 */
RDMA_NLDEV_ATTR_FRMR_POOL_PINNED_HANDLES, /* u32 */
+ RDMA_NLDEV_ATTR_FRMR_POOL_KEY_KERNEL_VENDOR_KEY, /* u64 */
/*
* Always the end