From 8f7cd008fabad0582c95953fa91ec51e108b6b26 Mon Sep 17 00:00:00 2001 From: David Hunt Date: Thu, 10 Mar 2016 11:55:40 +0000 Subject: [PATCH] doc: announce ABI changes for external mempool manager Announce the ABI breakage due to addition of external mempool manager functionality which requires changes to rte_mempool structure. Signed-off-by: David Hunt Acked-by: Olivier Matz Acked-by: Bruce Richardson Acked-by: Keith Wiles Acked-by: John McNamara --- doc/guides/rel_notes/deprecation.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 8bd0340f1c..ad313558b7 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -31,3 +31,12 @@ Deprecation Notices code affected is app/test/test_mempool.c and librte_mempool/rte_mempool.[ch]. The rte_mempool.local_cache will be converted from an array to a pointer to allow for dynamic allocation of the per lcore cache memory. + +* The rte_mempool struct will be changed in 16.07 to facilitate the new + external mempool manager functionality. + The ring element will be replaced with a more generic 'pool' opaque pointer + to allow new mempool handlers to use their own user-defined mempool + layout. Also newly added to rte_mempool is a handler index. + The existing API will be backward compatible, but there will be new API + functions added to facilitate the creation of mempools using an external + handler. The 16.07 release will contain these changes. -- 2.20.1