DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: announce control mbuf removal
@ 2018-01-29  9:30 Olivier Matz
  2018-01-29 10:04 ` Jerin Jacob
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Olivier Matz @ 2018-01-29  9:30 UTC (permalink / raw)
  To: dev, Neil Horman, John McNamara, Marko Kovacevic
  Cc: Kevin Wilson, Konstantin Ananyev

Link: http://dpdk.org/ml/archives/dev/2017-July/069813.html
Link: http://dpdk.org/dev/patchwork/patch/32041/

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
---
 doc/guides/rel_notes/deprecation.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index d59ad5988..e98ce6a0a 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -59,3 +59,16 @@ 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.
+
+* mbuf: The control mbuf API will be removed in v18.05. The impacted
+  functions and macros are:
+
+  - ``rte_ctrlmbuf_init()``
+  - ``rte_ctrlmbuf_alloc()``
+  - ``rte_ctrlmbuf_free()``
+  - ``rte_ctrlmbuf_data()``
+  - ``rte_ctrlmbuf_len()``
+  - ``rte_is_ctrlmbuf()``
+  - ``CTRL_MBUF_FLAG``
+
+  The packet mbuf API should be used as a replacement.
-- 
2.11.0

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

* Re: [dpdk-dev] [PATCH] doc: announce control mbuf removal
  2018-01-29  9:30 [dpdk-dev] [PATCH] doc: announce control mbuf removal Olivier Matz
@ 2018-01-29 10:04 ` Jerin Jacob
  2018-02-12 10:22 ` Olivier Matz
  2018-02-14  0:02 ` Thomas Monjalon
  2 siblings, 0 replies; 8+ messages in thread
From: Jerin Jacob @ 2018-01-29 10:04 UTC (permalink / raw)
  To: Olivier Matz
  Cc: dev, Neil Horman, John McNamara, Marko Kovacevic, Kevin Wilson,
	Konstantin Ananyev

-----Original Message-----
> Date: Mon, 29 Jan 2018 10:30:27 +0100
> From: Olivier Matz <olivier.matz@6wind.com>
> To: dev@dpdk.org, Neil Horman <nhorman@tuxdriver.com>, John McNamara
>  <john.mcnamara@intel.com>, Marko Kovacevic <marko.kovacevic@intel.com>
> CC: Kevin Wilson <wkevils@gmail.com>, Konstantin Ananyev
>  <konstantin.ananyev@intel.com>
> Subject: [dpdk-dev] [PATCH] doc: announce control mbuf removal
> X-Mailer: git-send-email 2.11.0
> 
> Link: http://dpdk.org/ml/archives/dev/2017-July/069813.html
> Link: http://dpdk.org/dev/patchwork/patch/32041/
> 
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>

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

> ---
>  doc/guides/rel_notes/deprecation.rst | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
> index d59ad5988..e98ce6a0a 100644
> --- a/doc/guides/rel_notes/deprecation.rst
> +++ b/doc/guides/rel_notes/deprecation.rst
> @@ -59,3 +59,16 @@ 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.
> +
> +* mbuf: The control mbuf API will be removed in v18.05. The impacted
> +  functions and macros are:
> +
> +  - ``rte_ctrlmbuf_init()``
> +  - ``rte_ctrlmbuf_alloc()``
> +  - ``rte_ctrlmbuf_free()``
> +  - ``rte_ctrlmbuf_data()``
> +  - ``rte_ctrlmbuf_len()``
> +  - ``rte_is_ctrlmbuf()``
> +  - ``CTRL_MBUF_FLAG``
> +
> +  The packet mbuf API should be used as a replacement.
> -- 
> 2.11.0
> 

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

* Re: [dpdk-dev] [PATCH] doc: announce control mbuf removal
  2018-01-29  9:30 [dpdk-dev] [PATCH] doc: announce control mbuf removal Olivier Matz
  2018-01-29 10:04 ` Jerin Jacob
@ 2018-02-12 10:22 ` Olivier Matz
  2018-02-12 10:33   ` Dumitrescu, Cristian
                     ` (2 more replies)
  2018-02-14  0:02 ` Thomas Monjalon
  2 siblings, 3 replies; 8+ messages in thread
From: Olivier Matz @ 2018-02-12 10:22 UTC (permalink / raw)
  To: dev, Neil Horman, John McNamara, Marko Kovacevic
  Cc: Kevin Wilson, Konstantin Ananyev

Hi,

Please, any other comments or acks for this one?

Thanks
Olivier


On Mon, Jan 29, 2018 at 10:30:27AM +0100, Olivier Matz wrote:
> Link: http://dpdk.org/ml/archives/dev/2017-July/069813.html
> Link: http://dpdk.org/dev/patchwork/patch/32041/
> 
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
> ---
>  doc/guides/rel_notes/deprecation.rst | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
> index d59ad5988..e98ce6a0a 100644
> --- a/doc/guides/rel_notes/deprecation.rst
> +++ b/doc/guides/rel_notes/deprecation.rst
> @@ -59,3 +59,16 @@ 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.
> +
> +* mbuf: The control mbuf API will be removed in v18.05. The impacted
> +  functions and macros are:
> +
> +  - ``rte_ctrlmbuf_init()``
> +  - ``rte_ctrlmbuf_alloc()``
> +  - ``rte_ctrlmbuf_free()``
> +  - ``rte_ctrlmbuf_data()``
> +  - ``rte_ctrlmbuf_len()``
> +  - ``rte_is_ctrlmbuf()``
> +  - ``CTRL_MBUF_FLAG``
> +
> +  The packet mbuf API should be used as a replacement.
> -- 
> 2.11.0
> 

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

* Re: [dpdk-dev] [PATCH] doc: announce control mbuf removal
  2018-02-12 10:22 ` Olivier Matz
@ 2018-02-12 10:33   ` Dumitrescu, Cristian
  2018-02-12 11:05   ` Bruce Richardson
  2018-02-13  3:49   ` Hemant Agrawal
  2 siblings, 0 replies; 8+ messages in thread
From: Dumitrescu, Cristian @ 2018-02-12 10:33 UTC (permalink / raw)
  To: Olivier Matz, dev, Neil Horman, Mcnamara, John, Kovacevic, Marko
  Cc: Kevin Wilson, Ananyev, Konstantin



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Olivier Matz
> Sent: Monday, February 12, 2018 10:22 AM
> To: dev@dpdk.org; Neil Horman <nhorman@tuxdriver.com>; Mcnamara,
> John <john.mcnamara@intel.com>; Kovacevic, Marko
> <marko.kovacevic@intel.com>
> Cc: Kevin Wilson <wkevils@gmail.com>; Ananyev, Konstantin
> <konstantin.ananyev@intel.com>
> Subject: Re: [dpdk-dev] [PATCH] doc: announce control mbuf removal
> 
> Hi,
> 
> Please, any other comments or acks for this one?
> 
> Thanks
> Olivier
> 
> 
> On Mon, Jan 29, 2018 at 10:30:27AM +0100, Olivier Matz wrote:
> > Link: http://dpdk.org/ml/archives/dev/2017-July/069813.html
> > Link: http://dpdk.org/dev/patchwork/patch/32041/
> >
> > Signed-off-by: Olivier Matz <olivier.matz@6wind.com>

Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>


> > ---
> >  doc/guides/rel_notes/deprecation.rst | 13 +++++++++++++
> >  1 file changed, 13 insertions(+)
> >
> > diff --git a/doc/guides/rel_notes/deprecation.rst
> b/doc/guides/rel_notes/deprecation.rst
> > index d59ad5988..e98ce6a0a 100644
> > --- a/doc/guides/rel_notes/deprecation.rst
> > +++ b/doc/guides/rel_notes/deprecation.rst
> > @@ -59,3 +59,16 @@ 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.
> > +
> > +* mbuf: The control mbuf API will be removed in v18.05. The impacted
> > +  functions and macros are:
> > +
> > +  - ``rte_ctrlmbuf_init()``
> > +  - ``rte_ctrlmbuf_alloc()``
> > +  - ``rte_ctrlmbuf_free()``
> > +  - ``rte_ctrlmbuf_data()``
> > +  - ``rte_ctrlmbuf_len()``
> > +  - ``rte_is_ctrlmbuf()``
> > +  - ``CTRL_MBUF_FLAG``
> > +
> > +  The packet mbuf API should be used as a replacement.
> > --
> > 2.11.0
> >

We use control messages extensively in examples/ip_pipeline. Every time we needed control messages, we found that the control mbuf was too heavy and did not add any value, so we ended up creating custom data structures.

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

* Re: [dpdk-dev] [PATCH] doc: announce control mbuf removal
  2018-02-12 10:22 ` Olivier Matz
  2018-02-12 10:33   ` Dumitrescu, Cristian
@ 2018-02-12 11:05   ` Bruce Richardson
  2018-02-13  3:49   ` Hemant Agrawal
  2 siblings, 0 replies; 8+ messages in thread
From: Bruce Richardson @ 2018-02-12 11:05 UTC (permalink / raw)
  To: Olivier Matz
  Cc: dev, Neil Horman, John McNamara, Marko Kovacevic, Kevin Wilson,
	Konstantin Ananyev

On Mon, Feb 12, 2018 at 11:22:15AM +0100, Olivier Matz wrote:
> Hi,
> 
> Please, any other comments or acks for this one?
> 
> Thanks
> Olivier

I would tend to support leaving the flag in place. Other than that, I
think the functions for it can go.
> 
> 
> On Mon, Jan 29, 2018 at 10:30:27AM +0100, Olivier Matz wrote:
> > Link: http://dpdk.org/ml/archives/dev/2017-July/069813.html
> > Link: http://dpdk.org/dev/patchwork/patch/32041/
> > 
> > Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
> > ---

Acked-by: Bruce Richardson <bruce.richardson@intel.com>

> >  doc/guides/rel_notes/deprecation.rst | 13 +++++++++++++
> >  1 file changed, 13 insertions(+)
> > 
> > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
> > index d59ad5988..e98ce6a0a 100644
> > --- a/doc/guides/rel_notes/deprecation.rst
> > +++ b/doc/guides/rel_notes/deprecation.rst
> > @@ -59,3 +59,16 @@ 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.
> > +
> > +* mbuf: The control mbuf API will be removed in v18.05. The impacted
> > +  functions and macros are:
> > +
> > +  - ``rte_ctrlmbuf_init()``
> > +  - ``rte_ctrlmbuf_alloc()``
> > +  - ``rte_ctrlmbuf_free()``
> > +  - ``rte_ctrlmbuf_data()``
> > +  - ``rte_ctrlmbuf_len()``
> > +  - ``rte_is_ctrlmbuf()``
> > +  - ``CTRL_MBUF_FLAG``
> > +
> > +  The packet mbuf API should be used as a replacement.
> > -- 
> > 2.11.0
> > 

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

* Re: [dpdk-dev] [PATCH] doc: announce control mbuf removal
  2018-02-12 10:22 ` Olivier Matz
  2018-02-12 10:33   ` Dumitrescu, Cristian
  2018-02-12 11:05   ` Bruce Richardson
@ 2018-02-13  3:49   ` Hemant Agrawal
  2 siblings, 0 replies; 8+ messages in thread
From: Hemant Agrawal @ 2018-02-13  3:49 UTC (permalink / raw)
  To: Olivier Matz, dev, Neil Horman, John McNamara, Marko Kovacevic
  Cc: Kevin Wilson, Konstantin Ananyev

On 2/12/2018 3:52 PM, Olivier Matz wrote:
> On Mon, Jan 29, 2018 at 10:30:27AM +0100, Olivier Matz wrote:
>> Link: http://dpdk.org/ml/archives/dev/2017-July/069813.html
>> Link: http://dpdk.org/dev/patchwork/patch/32041/
>>
>> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>

Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
>> ---
>>   doc/guides/rel_notes/deprecation.rst | 13 +++++++++++++
>>   1 file changed, 13 insertions(+)
>>
>> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
>> index d59ad5988..e98ce6a0a 100644
>> --- a/doc/guides/rel_notes/deprecation.rst
>> +++ b/doc/guides/rel_notes/deprecation.rst
>> @@ -59,3 +59,16 @@ 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.
>> +
>> +* mbuf: The control mbuf API will be removed in v18.05. The impacted
>> +  functions and macros are:
>> +
>> +  - ``rte_ctrlmbuf_init()``
>> +  - ``rte_ctrlmbuf_alloc()``
>> +  - ``rte_ctrlmbuf_free()``
>> +  - ``rte_ctrlmbuf_data()``
>> +  - ``rte_ctrlmbuf_len()``
>> +  - ``rte_is_ctrlmbuf()``
>> +  - ``CTRL_MBUF_FLAG``
>> +
>> +  The packet mbuf API should be used as a replacement.
>> -- 
>> 2.11.0
>>
> 

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

* Re: [dpdk-dev] [PATCH] doc: announce control mbuf removal
  2018-01-29  9:30 [dpdk-dev] [PATCH] doc: announce control mbuf removal Olivier Matz
  2018-01-29 10:04 ` Jerin Jacob
  2018-02-12 10:22 ` Olivier Matz
@ 2018-02-14  0:02 ` Thomas Monjalon
  2018-02-14 15:41   ` Thomas Monjalon
  2 siblings, 1 reply; 8+ messages in thread
From: Thomas Monjalon @ 2018-02-14  0:02 UTC (permalink / raw)
  To: Olivier Matz
  Cc: dev, Neil Horman, John McNamara, Marko Kovacevic, Kevin Wilson,
	Konstantin Ananyev

29/01/2018 10:30, Olivier Matz:
> Link: http://dpdk.org/ml/archives/dev/2017-July/069813.html
> Link: http://dpdk.org/dev/patchwork/patch/32041/
> 
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
> ---
> +* mbuf: The control mbuf API will be removed in v18.05. The impacted
> +  functions and macros are:
> +
> +  - ``rte_ctrlmbuf_init()``
> +  - ``rte_ctrlmbuf_alloc()``
> +  - ``rte_ctrlmbuf_free()``
> +  - ``rte_ctrlmbuf_data()``
> +  - ``rte_ctrlmbuf_len()``
> +  - ``rte_is_ctrlmbuf()``
> +  - ``CTRL_MBUF_FLAG``
> +
> +  The packet mbuf API should be used as a replacement.

Acked-by: Thomas Monjalon <thomas@monjalon.net>

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

* Re: [dpdk-dev] [PATCH] doc: announce control mbuf removal
  2018-02-14  0:02 ` Thomas Monjalon
@ 2018-02-14 15:41   ` Thomas Monjalon
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Monjalon @ 2018-02-14 15:41 UTC (permalink / raw)
  To: Olivier Matz
  Cc: dev, Neil Horman, John McNamara, Marko Kovacevic, Kevin Wilson,
	Konstantin Ananyev

14/02/2018 01:02, Thomas Monjalon:
> 29/01/2018 10:30, Olivier Matz:
> > Link: http://dpdk.org/ml/archives/dev/2017-July/069813.html
> > Link: http://dpdk.org/dev/patchwork/patch/32041/
> > 
> > Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
> > ---
> > +* mbuf: The control mbuf API will be removed in v18.05. The impacted
> > +  functions and macros are:
> > +
> > +  - ``rte_ctrlmbuf_init()``
> > +  - ``rte_ctrlmbuf_alloc()``
> > +  - ``rte_ctrlmbuf_free()``
> > +  - ``rte_ctrlmbuf_data()``
> > +  - ``rte_ctrlmbuf_len()``
> > +  - ``rte_is_ctrlmbuf()``
> > +  - ``CTRL_MBUF_FLAG``
> > +
> > +  The packet mbuf API should be used as a replacement.
> 
> Acked-by: Thomas Monjalon <thomas@monjalon.net>

Applied

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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-29  9:30 [dpdk-dev] [PATCH] doc: announce control mbuf removal Olivier Matz
2018-01-29 10:04 ` Jerin Jacob
2018-02-12 10:22 ` Olivier Matz
2018-02-12 10:33   ` Dumitrescu, Cristian
2018-02-12 11:05   ` Bruce Richardson
2018-02-13  3:49   ` Hemant Agrawal
2018-02-14  0:02 ` Thomas Monjalon
2018-02-14 15:41   ` 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).