Skip to contentSkip to conversation

doc: deprecation notice in 16.04 for rte_mempool changes

PATCH Applied Keith Wiles 5 participants 5 messages Feb 12, 2016 – Apr 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: deprecation notice in 16.04 for rte_mempool changes

Deprecation notice for 16.04 for changes to occur in release 16.07 for rte_mempool memory reduction.

---
 doc/guides/rel_notes/deprecation.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)
doc/guides/rel_notes/deprecation.rst +10 -0
index e94d4a2..748a48d 100644
@@ -49,3 +49,13 @@ Deprecation Notices
   commands (such as RETA update in testpmd).  This should impact
   CMDLINE_PARSE_RESULT_BUFSIZE, STR_TOKEN_SIZE and RDLINE_BUF_SIZE.
   It should be integrated in release 2.3.
+
+* 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 effected 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.
+
Signature · 1 line
2.5.4 (Apple Git-61)
Acked-by on v1 1/1
#4 lore raw
In reply to Keith Wiles
Quoted 11 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Keith Wiles
Sent: Friday, February 12, 2016 6:38 PM
To: [email protected]
Subject: [dpdk-dev] [PATCH] doc: deprecation notice in 16.04 for rte_mempool changes

Deprecation notice for 16.04 for changes to occur in release 16.07 for rte_mempool memory reduction.