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.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -601,6 +601,7 @@ enum rdma_nldev_attr { · 600 unmodified lines | ||
| 601 | 601 | RDMA_NLDEV_ATTR_FRMR_POOL_MAX_IN_USE, /* u64 */ |
| 602 | 602 | RDMA_NLDEV_ATTR_FRMR_POOL_IN_USE, /* u64 */ |
| 603 | 603 | RDMA_NLDEV_ATTR_FRMR_POOLS_AGING_PERIOD, /* u32 */ |
| 604 | + RDMA_NLDEV_ATTR_FRMR_POOL_PINNED_HANDLES, /* u32 */ | |
| 604 | 605 | |
| 605 | 606 | /* |
| 606 | 607 | * Always the end |