DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: announce API/ABI changes for mempool
@ 2018-01-23 13:23 Andrew Rybchenko
  2018-01-31 16:46 ` Olivier Matz
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Rybchenko @ 2018-01-23 13:23 UTC (permalink / raw)
  To: dev; +Cc: Olivier Matz

An API/ABI changes are planned for 18.05 [1]:

 * Allow to customize how mempool objects are stored in memory.
 * Deprecate mempool XMEM API.
 * Add mempool driver ops to get information from mempool driver and
   dequeue contiguous blocks of objects if driver supports it.

[1] http://dpdk.org/ml/archives/dev/2018-January/088698.html

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
---
 doc/guides/rel_notes/deprecation.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index d59ad59..9db80da 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -59,3 +59,20 @@ Deprecation Notices
   be added between the producer and consumer structures. The size of the
   structure and the offset of the fields will remain the same on
   platforms with 64B cache line, but will change on other platforms.
+
+* mempool: several API and ABI changes are planned in v18.05.
+  The following functions, introduced for Xen, which is not supported
+  anymore since v17.11, are hard to use, not used anywhere else in DPDK.
+  Therefore they will be deprecated in v18.05 and removed in v18.08:
+
+  - ``rte_mempool_xmem_create``
+  - ``rte_mempool_xmem_size``
+  - ``rte_mempool_xmem_usage``
+
+  The following changes are planned:
+
+  - removal of ``get_capabilities`` mempool ops and related flags.
+  - substitute ``register_memory_area`` with ``populate`` ops.
+  - addition of new ops to customize required memory chunk calculation,
+    customize objects population and allocate contiguous
+    block of objects if underlying driver supports it.
-- 
2.7.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] doc: announce API/ABI changes for mempool
  2018-01-23 13:23 [dpdk-dev] [PATCH] doc: announce API/ABI changes for mempool Andrew Rybchenko
@ 2018-01-31 16:46 ` Olivier Matz
  2018-02-01  6:40   ` Jerin Jacob
  0 siblings, 1 reply; 5+ messages in thread
From: Olivier Matz @ 2018-01-31 16:46 UTC (permalink / raw)
  To: Andrew Rybchenko; +Cc: dev

On Tue, Jan 23, 2018 at 01:23:04PM +0000, Andrew Rybchenko wrote:
> An API/ABI changes are planned for 18.05 [1]:
> 
>  * Allow to customize how mempool objects are stored in memory.
>  * Deprecate mempool XMEM API.
>  * Add mempool driver ops to get information from mempool driver and
>    dequeue contiguous blocks of objects if driver supports it.
> 
> [1] http://dpdk.org/ml/archives/dev/2018-January/088698.html
> 
> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>

Acked-by: Olivier Matz <olivier.matz@6wind.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] doc: announce API/ABI changes for mempool
  2018-01-31 16:46 ` Olivier Matz
@ 2018-02-01  6:40   ` Jerin Jacob
  2018-02-01 12:53     ` Hemant Agrawal
  0 siblings, 1 reply; 5+ messages in thread
From: Jerin Jacob @ 2018-02-01  6:40 UTC (permalink / raw)
  To: Olivier Matz; +Cc: Andrew Rybchenko, dev

-----Original Message-----
> Date: Wed, 31 Jan 2018 17:46:51 +0100
> From: Olivier Matz <olivier.matz@6wind.com>
> To: Andrew Rybchenko <arybchenko@solarflare.com>
> CC: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] doc: announce API/ABI changes for mempool
> User-Agent: NeoMutt/20170113 (1.7.2)
> 
> On Tue, Jan 23, 2018 at 01:23:04PM +0000, Andrew Rybchenko wrote:
> > An API/ABI changes are planned for 18.05 [1]:
> > 
> >  * Allow to customize how mempool objects are stored in memory.
> >  * Deprecate mempool XMEM API.
> >  * Add mempool driver ops to get information from mempool driver and
> >    dequeue contiguous blocks of objects if driver supports it.
> > 
> > [1] http://dpdk.org/ml/archives/dev/2018-January/088698.html
> > 
> > Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
> 
> Acked-by: Olivier Matz <olivier.matz@6wind.com>

Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] doc: announce API/ABI changes for mempool
  2018-02-01  6:40   ` Jerin Jacob
@ 2018-02-01 12:53     ` Hemant Agrawal
  2018-02-14 15:23       ` Thomas Monjalon
  0 siblings, 1 reply; 5+ messages in thread
From: Hemant Agrawal @ 2018-02-01 12:53 UTC (permalink / raw)
  To: Jerin Jacob, Olivier Matz; +Cc: Andrew Rybchenko, dev

On 2/1/2018 12:10 PM, Jerin Jacob wrote:
> -----Original Message-----
>> Date: Wed, 31 Jan 2018 17:46:51 +0100
>> From: Olivier Matz <olivier.matz@6wind.com>
>> To: Andrew Rybchenko <arybchenko@solarflare.com>
>> CC: dev@dpdk.org
>> Subject: Re: [dpdk-dev] [PATCH] doc: announce API/ABI changes for mempool
>> User-Agent: NeoMutt/20170113 (1.7.2)
>>
>> On Tue, Jan 23, 2018 at 01:23:04PM +0000, Andrew Rybchenko wrote:
>>> An API/ABI changes are planned for 18.05 [1]:
>>>
>>>   * Allow to customize how mempool objects are stored in memory.
>>>   * Deprecate mempool XMEM API.
>>>   * Add mempool driver ops to get information from mempool driver and
>>>     dequeue contiguous blocks of objects if driver supports it.
>>>
>>> [1] http://dpdk.org/ml/archives/dev/2018-January/088698.html
>>>
>>> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
>>
>> Acked-by: Olivier Matz <olivier.matz@6wind.com>
> 
> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> 
> 
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] doc: announce API/ABI changes for mempool
  2018-02-01 12:53     ` Hemant Agrawal
@ 2018-02-14 15:23       ` Thomas Monjalon
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Monjalon @ 2018-02-14 15:23 UTC (permalink / raw)
  To: Andrew Rybchenko; +Cc: dev, Hemant Agrawal, Jerin Jacob, Olivier Matz

> >>> An API/ABI changes are planned for 18.05 [1]:
> >>>
> >>>   * Allow to customize how mempool objects are stored in memory.
> >>>   * Deprecate mempool XMEM API.
> >>>   * Add mempool driver ops to get information from mempool driver and
> >>>     dequeue contiguous blocks of objects if driver supports it.
> >>>
> >>> [1] http://dpdk.org/ml/archives/dev/2018-January/088698.html
> >>>
> >>> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
> >>
> >> Acked-by: Olivier Matz <olivier.matz@6wind.com>
> > 
> > Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> > 
> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>

Applied

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-14 15:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-23 13:23 [dpdk-dev] [PATCH] doc: announce API/ABI changes for mempool Andrew Rybchenko
2018-01-31 16:46 ` Olivier Matz
2018-02-01  6:40   ` Jerin Jacob
2018-02-01 12:53     ` Hemant Agrawal
2018-02-14 15:23       ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).