[dpdk-dev] doc: deprecation notice in 16.04 for rte_mempool changes

Message ID 1455302305-48977-1-git-send-email-keith.wiles@intel.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Wiles, Keith Feb. 12, 2016, 6:38 p.m. UTC
  Deprecation notice for 16.04 for changes to occur in
release 16.07 for rte_mempool memory reduction.

Signed-off-by: Keith Wiles <keith.wiles@intel.com>
---
 doc/guides/rel_notes/deprecation.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)
  

Comments

Olivier Matz Feb. 15, 2016, 9:20 a.m. UTC | #1
Hi Keith,

On 02/12/2016 07:38 PM, Keith Wiles wrote:
> Deprecation notice for 16.04 for changes to occur in
> release 16.07 for rte_mempool memory reduction.
> 
> Signed-off-by: Keith Wiles <keith.wiles@intel.com>

Acked-by: Olivier Matz <olivier.matz@6wind.com>
  
Hunt, David March 7, 2016, 10:05 a.m. UTC | #2
Hi Keith,

Here's another ack for this patch, in case it's needed.

On 2/15/2016 9:20 AM, Olivier MATZ wrote:
> Hi Keith,
>
> On 02/12/2016 07:38 PM, Keith Wiles wrote:
>> Deprecation notice for 16.04 for changes to occur in
>> release 16.07 for rte_mempool memory reduction.
>>
>> Signed-off-by: Keith Wiles <keith.wiles@intel.com>
> Acked-by: Olivier Matz <olivier.matz@6wind.com>

Acked-by: David Hunt <david.hunt@intel.com>
  
John McNamara March 8, 2016, 12:53 p.m. UTC | #3
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Keith Wiles
> Sent: Friday, February 12, 2016 6:38 PM
> To: dev@dpdk.org
> 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.
> 
> Signed-off-by: Keith Wiles <keith.wiles@intel.com>


Acked-by: John McNamara <john.mcnamara@intel.com>
  
Thomas Monjalon April 4, 2016, 2:33 p.m. UTC | #4
> >> Deprecation notice for 16.04 for changes to occur in
> >> release 16.07 for rte_mempool memory reduction.
> >>
> >> Signed-off-by: Keith Wiles <keith.wiles@intel.com>
> > Acked-by: Olivier Matz <olivier.matz@6wind.com>
> Acked-by: David Hunt <david.hunt@intel.com>
> Acked-by: John McNamara <john.mcnamara@intel.com>

Applied, thanks.
  

Patch

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index e94d4a2..748a48d 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -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.
+