From 3477b7a2cc98bff634134c65ddb5540743eb01e7 Mon Sep 17 00:00:00 2001 From: Marcin Hajkowski Date: Mon, 13 May 2019 15:52:10 +0200 Subject: [PATCH] doc: announce power API change Function rte_power_set_env will no longer return success on attempt to set env in initialized state. Signed-off-by: Marcin Hajkowski Reviewed-by: Rami Rosen Acked-by: David Hunt Acked-by: Anatoly Burakov Acked-by: Bruce Richardson --- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index ed8284c1d5..098d24381c 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -107,3 +107,8 @@ 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.20.1