Skip to contentSkip to conversation

doc: announce control mbuf removal

PATCH Applied Olivier Matz 6 participants 8 messages Jan 29, 2018 – Feb 14, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: announce control mbuf removal

---
 doc/guides/rel_notes/deprecation.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
doc/guides/rel_notes/deprecation.rst +13 -0
index d59ad5988..e98ce6a0a 100644
@@ -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.
Signature · 1 line
2.11.0
Acked-by on v1 1/1
#1 lore raw

-----Original Message-----

Quoted 9 lines

Date: Mon, 29 Jan 2018 10:30:27 +0100
From: Olivier Matz <[email protected]>
To: [email protected], Neil Horman <[email protected]>, John McNamara
<[email protected]>, Marko Kovacevic <[email protected]>
CC: Kevin Wilson <[email protected]>, Konstantin Ananyev
<[email protected]>
Subject: [dpdk-dev] [PATCH] doc: announce control mbuf removal
X-Mailer: git-send-email 2.11.0

Quoted 4 lines
Quoted 28 lines
---
 doc/guides/rel_notes/deprecation.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
doc/guides/rel_notes/deprecation.rst +13 -0
index d59ad5988..e98ce6a0a 100644
@@ -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.
Signature · 1 line
2.11.0
#2 lore raw
In reply to Olivier Matz

Hi,

Please, any other comments or acks for this one?

Thanks
Olivier

Quoted 32 lines · Olivier Matz
---
 doc/guides/rel_notes/deprecation.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
doc/guides/rel_notes/deprecation.rst +13 -0
index d59ad5988..e98ce6a0a 100644
@@ -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.
Signature · 1 line
2.11.0
#3 lore raw
Quoted 14 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Olivier Matz
Sent: Monday, February 12, 2018 10:22 AM
To: [email protected]; Neil Horman <[email protected]>; Mcnamara, John <[email protected]>; Kovacevic, Marko <[email protected]>
Cc: Kevin Wilson <[email protected]>; Ananyev, Konstantin <[email protected]>
Subject: Re: [dpdk-dev] [PATCH] doc: announce control mbuf removal

Hi,

Quoted 11 lines

Please, any other comments or acks for this one?

Thanks
Olivier

Quoted 4 lines · Olivier Matz
Quoted 21 lines

Review

Quoted 5 lines
---
 doc/guides/rel_notes/deprecation.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
(quoted diff) +0 -0

b/doc/guides/rel_notes/deprecation.rst

Quoted 15 lines

index d59ad5988..e98ce6a0a 100644

doc/guides/rel_notes/deprecation.rst +8 -0
@@ -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()``
Quoted 8 lines
Quoted 8 lines
doc/guides/rel_notes/deprecation.rst +5 -1
+  - ``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.

#4 lore raw
In reply to Olivier Matz
Quoted 6 lines · Olivier Matz

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.

Quoted 8 lines · Olivier Matz
Quoted 5 lines

---

Quoted 27 lines
Quoted 27 lines
 doc/guides/rel_notes/deprecation.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
doc/guides/rel_notes/deprecation.rst +13 -0
index d59ad5988..e98ce6a0a 100644
@@ -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.
Signature · 1 line
2.11.0
#5 lore raw
In reply to Olivier Matz
Quoted 5 lines · Olivier Matz
Quoted 4 lines · Olivier Matz
Quoted 29 lines
Quoted 28 lines
---
  doc/guides/rel_notes/deprecation.rst | 13 +++++++++++++
  1 file changed, 13 insertions(+)
doc/guides/rel_notes/deprecation.rst +13 -0
index d59ad5988..e98ce6a0a 100644
@@ -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.
Signature · 1 line
2.11.0
Acked-by on v1 1/1
#6 lore raw
In reply to Olivier Matz

29/01/2018 10:30, Olivier Matz:

Quoted 7 lines

---

doc/guides/rel_notes/deprecation.rst +2 -0
+* mbuf: The control mbuf API will be removed in v18.05. The impacted
+  functions and macros are:

doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 74

Quoted 10 lines
doc/guides/rel_notes/deprecation.rst +10 -0
+
+  - ``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.
#7 lore raw

14/02/2018 01:02, Thomas Monjalon:

Quoted 4 lines

29/01/2018 10:30, Olivier Matz:

Quoted 3 lines
Quoted 16 lines
Quoted 4 lines

---

doc/guides/rel_notes/deprecation.rst +2 -0
+* mbuf: The control mbuf API will be removed in v18.05. The impacted
+  functions and macros are:

doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 74

Quoted 10 lines
doc/guides/rel_notes/deprecation.rst +10 -0
+
+  - ``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.

Applied