Skip to contentSkip to conversation

doc: add deprecation notice to remove rte meter color

PATCH Applied Reshma Pattan 4 participants 4 messages Dec 12, 2018 – Feb 1, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: add deprecation notice to remove rte meter color

Added deprecation notice to replace rte_meter_color with rte_color.

---
 doc/guides/rel_notes/deprecation.rst | 5 +++++
 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +5 -0
index b48486d36..bf1fdf369 100644
@@ -105,3 +105,8 @@ Deprecation Notices
   - ``rte_pdump_set_socket_dir`` will be removed;
   - The parameter, ``path``, of ``rte_pdump_init`` will be removed;
   - The enum ``rte_pdump_socktype`` will be removed.
+
+* meter: New ``rte_color`` definition will be added in 19.02 and that will
+  replace ``enum rte_meter_color`` in meter library in 19.05. This will help
+  to consolidate color definition, which is currently replicated in many places,
+  such as: rte_meter.h, rte_mtr.h, rte_tm.h.
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 36 lines

-----Original Message-----
From: Pattan, Reshma
Sent: Wednesday, December 12, 2018 4:38 PM
To: [email protected]
Cc: Singh, Jasvinder <[email protected]>; Pattan, Reshma <[email protected]>
Subject: [PATCH] doc: add deprecation notice to remove rte meter color

Added deprecation notice to replace rte_meter_color with rte_color.

---
 doc/guides/rel_notes/deprecation.rst | 5 +++++
 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +8 -1
index b48486d36..bf1fdf369 100644
@@ -105,3 +105,8 @@ Deprecation Notices
   - ``rte_pdump_set_socket_dir`` will be removed;
   - The parameter, ``path``, of ``rte_pdump_init`` will be removed;
   - The enum ``rte_pdump_socktype`` will be removed.
+
+* meter: New ``rte_color`` definition will be added in 19.02 and that
+will
+  replace ``enum rte_meter_color`` in meter library in 19.05. This will
+help
+  to consolidate color definition, which is currently replicated in
+many places,
+  such as: rte_meter.h, rte_mtr.h, rte_tm.h.
--
Quoted 1 line

2.17.1

Acked-by on v1 1/1
#2 lore raw
In reply to Reshma Pattan
Quoted 14 lines · Reshma Pattan

Added deprecation notice to replace rte_meter_color with rte_color.

---
  doc/guides/rel_notes/deprecation.rst | 5 +++++
  1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +0 -0
index b48486d36..bf1fdf369 100644

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

Quoted 8 lines
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -105,3 +105,8 @@ Deprecation Notices
    - ``rte_pdump_set_socket_dir`` will be removed;
    - The parameter, ``path``, of ``rte_pdump_init`` will be removed;
    - The enum ``rte_pdump_socktype`` will be removed.
+
+* meter: New ``rte_color`` definition will be added in 19.02 and that will
+  replace ``enum rte_meter_color`` in meter library in 19.05. This will help
+  to consolidate color definition, which is currently replicated in many places,
+  such as: rte_meter.h, rte_mtr.h, rte_tm.h.