From f827226399223a29f6addc8f5e440d4f2f19dbc2 Mon Sep 17 00:00:00 2001 From: Keith Wiles Date: Fri, 12 Feb 2016 12:38:25 -0600 Subject: [PATCH] doc: announce ABI change for mempool cache Deprecation notice for 16.04 for changes to occur in release 16.07 for rte_mempool memory reduction. Signed-off-by: Keith Wiles Acked-by: Olivier Matz Acked-by: David Hunt 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 c47610de9a..8bd0340f1c 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -22,3 +22,12 @@ Deprecation Notices * ABI changes are planned for adding four new flow types. This impacts RTE_ETH_FLOW_MAX. The release 2.2 does not contain these ABI changes, but release 2.3 will. [postponed] + +* ABI change is planned for the rte_mempool structure to allow mempool + cache support to be dynamic depending on the mempool being created + needing cache support. Saves about 1.5M of memory per rte_mempool structure + by removing the per lcore cache memory. Change will occur in DPDK 16.07 + release and will skip the define RTE_NEXT_ABI in DPDK 16.04 release. The + 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. -- 2.20.1