History

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.

Michael Guralnik committed 8 months ago

Commit da73d761 parent d2ea6752 files · +78 −11Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/rdma/rdma_netlink.h+1−0
@@ -601,6 +601,7 @@ enum rdma_nldev_attr { · 600 unmodified lines
601 RDMA_NLDEV_ATTR_FRMR_POOL_MAX_IN_USE, /* u64 */601 RDMA_NLDEV_ATTR_FRMR_POOL_MAX_IN_USE, /* u64 */
602 RDMA_NLDEV_ATTR_FRMR_POOL_IN_USE, /* u64 */602 RDMA_NLDEV_ATTR_FRMR_POOL_IN_USE, /* u64 */
603 RDMA_NLDEV_ATTR_FRMR_POOLS_AGING_PERIOD, /* u32 */603 RDMA_NLDEV_ATTR_FRMR_POOLS_AGING_PERIOD, /* u32 */
604 RDMA_NLDEV_ATTR_FRMR_POOL_PINNED_HANDLES, /* u32 */
604 605
605 /*606 /*
606 * Always the end607 * Always the end