[PATCH iproute2-next 1/4] rdma: Update headers
From: Chiara Meiohas <hidden>
Date: 2026-03-02 15:53:02
Also in:
linux-rdma
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Michael Guralnik <redacted>
Update rdma_netlink.h file up to kernel commit f55576f6ace6
("RDMA/nldev: Expose kernel-internal FRMR pools in netlink")
Signed-off-by: Michael Guralnik <redacted>
Reviewed-by: Patrisious Haddad <redacted>
---
rdma/include/uapi/rdma/rdma_netlink.h | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/rdma/include/uapi/rdma/rdma_netlink.h b/rdma/include/uapi/rdma/rdma_netlink.h
index ec8c19ca..dc958c8a 100644
--- a/rdma/include/uapi/rdma/rdma_netlink.h
+++ b/rdma/include/uapi/rdma/rdma_netlink.h@@ -308,6 +308,10 @@ enum rdma_nldev_command { RDMA_NLDEV_CMD_MONITOR, + RDMA_NLDEV_CMD_RES_FRMR_POOLS_GET, /* can dump */ + + RDMA_NLDEV_CMD_RES_FRMR_POOLS_SET, + RDMA_NLDEV_NUM_OPS };
@@ -582,6 +586,24 @@ enum rdma_nldev_attr { RDMA_NLDEV_SYS_ATTR_MONITOR_MODE, /* u8 */ RDMA_NLDEV_ATTR_STAT_OPCOUNTER_ENABLED, /* u8 */ + + /* + * FRMR Pools attributes + */ + RDMA_NLDEV_ATTR_RES_FRMR_POOLS, /* nested table */ + RDMA_NLDEV_ATTR_RES_FRMR_POOL_ENTRY, /* nested table */ + RDMA_NLDEV_ATTR_RES_FRMR_POOL_KEY, /* nested table */ + RDMA_NLDEV_ATTR_RES_FRMR_POOL_KEY_ATS, /* u8 */ + RDMA_NLDEV_ATTR_RES_FRMR_POOL_KEY_ACCESS_FLAGS, /* u32 */ + RDMA_NLDEV_ATTR_RES_FRMR_POOL_KEY_VENDOR_KEY, /* u64 */ + RDMA_NLDEV_ATTR_RES_FRMR_POOL_KEY_NUM_DMA_BLOCKS, /* u64 */ + RDMA_NLDEV_ATTR_RES_FRMR_POOL_QUEUE_HANDLES, /* u32 */ + RDMA_NLDEV_ATTR_RES_FRMR_POOL_MAX_IN_USE, /* u64 */ + RDMA_NLDEV_ATTR_RES_FRMR_POOL_IN_USE, /* u64 */ + RDMA_NLDEV_ATTR_RES_FRMR_POOL_AGING_PERIOD, /* u64 */ + RDMA_NLDEV_ATTR_RES_FRMR_POOL_PINNED, /* u8 */ + RDMA_NLDEV_ATTR_RES_FRMR_POOL_KEY_KERNEL_VENDOR_KEY, /* u64 */ + /* * Always the end */
--
2.38.1