[PATCH v6 2/2] mempool: introduce pile driver
Morten Brørup
mb at smartsharesystems.com
Mon Sep 14 16:44:17 CEST 2026
Added a new "pile" mempool driver, based on the high-performance lock-free
"pile" stack variant.
With this driver added, the max number of mempool drivers
(RTE_MEMPOOL_MAX_OPS_IDX) would be exceeded, so it was increased from 16
to 32.
Changed the other stack drivers to call their specific push/pop functions,
instead of calling the generic stack push/pop API.
Signed-off-by: Morten Brørup <mb at smartsharesystems.com>
---
v6:
* No changes.
v5:
* Added release note. (AI advanced model)
* Moved increase of max number of mempool drivers from stack patch to
mempool driver patch, where it belongs.
* Mentioned increase of max number of mempool drivers in patch
description.
* Removed the rte_mempool_register_ops() and rte_mempool_set_ops_byname()
changes.
They are included in the "mempool: various cleanups" patch in the
"mempool: cleanup, fixes, improvements and optimizations" series.
v4:
* No changes.
v3:
* Call other stack types' specific push/pop functions.
v2:
* There is no v2.
---
doc/guides/rel_notes/release_26_11.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/rel_notes/release_26_11.rst b/doc/guides/rel_notes/release_26_11.rst
index 572e579ed5..17a1219222 100644
--- a/doc/guides/rel_notes/release_26_11.rst
+++ b/doc/guides/rel_notes/release_26_11.rst
@@ -61,6 +61,7 @@ New Features
pushed and popped in LIFO manner, but objects within each bulk are not ordered
as expected by a stack.
Furthermore, it is not strictly bounded by its size, but might hold more objects.
+* mempool: Added "pile" driver, using the lock-free "pile" stack-like implementation.
Removed Items
-------------
--
2.43.0
More information about the dev
mailing list