[dpdk-stable] patch 'doc: remove obsolete deprecation notice for power library' has been queued to stable release 19.11.6

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Nov 9 19:41:11 CET 2020


Hi,

FYI, your patch has been queued to stable release 19.11.6

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/11/20. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/43baac4112f15c2df90258293267c6b360b63cda

Thanks.

Luca Boccassi

---
>From 43baac4112f15c2df90258293267c6b360b63cda Mon Sep 17 00:00:00 2001
From: David Hunt <david.hunt at intel.com>
Date: Wed, 4 Nov 2020 09:28:10 +0000
Subject: [PATCH] doc: remove obsolete deprecation notice for power library

[ upstream commit f348642d6f0d7da89bf6e156ff15a8f89c1db5c6 ]

Remove notice announcing an already-implemented change.

In 19.05, rte_power_set_env was changed to return -1 in cases where
the environment was already set up, and for the same release, a
deprecation notice was added.
This patch removes that notice.

The API change was tested by calling rte_power_set_env twice. The first
call succeeded, and the second call failed, as expected.

Fixes: 5a5f3178d4a8 ("power: return error when environment already set")

Signed-off-by: David Hunt <david.hunt at intel.com>
---
 doc/guides/rel_notes/deprecation.rst | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index c2e1298342..58109590cc 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -75,8 +75,3 @@ Deprecation Notices
 
 * metrics: The function ``rte_metrics_init`` will have a non-void return
   in order to notify errors instead of calling ``rte_exit``.
-
-* power: ``rte_power_set_env`` function will no longer return 0 on attempt
-  to set new power environment if power environment was already initialized.
-  In this case the function will return -1 unless the environment is unset first
-  (using ``rte_power_unset_env``). Other function usage scenarios will not change.
-- 
2.27.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-11-09 18:40:14.224778884 +0000
+++ 0083-doc-remove-obsolete-deprecation-notice-for-power-lib.patch	2020-11-09 18:40:11.243313025 +0000
@@ -1 +1 @@
-From f348642d6f0d7da89bf6e156ff15a8f89c1db5c6 Mon Sep 17 00:00:00 2001
+From 43baac4112f15c2df90258293267c6b360b63cda Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit f348642d6f0d7da89bf6e156ff15a8f89c1db5c6 ]
+
@@ -17 +18,0 @@
-Cc: stable at dpdk.org
@@ -25 +26 @@
-index 759232966e..f3258eb3f7 100644
+index c2e1298342..58109590cc 100644
@@ -28 +29,2 @@
-@@ -127,11 +127,6 @@ Deprecation Notices
+@@ -75,8 +75,3 @@ Deprecation Notices
+ 
@@ -31 +33 @@
- 
+-
@@ -36,4 +37,0 @@
--
- * cmdline: ``cmdline`` structure will be made opaque to hide platform-specific
-   content. On Linux and FreeBSD, supported prior to DPDK 20.11,
-   original structure will be kept until DPDK 21.11.


More information about the stable mailing list