From: Marcin Hajkowski Date: Mon, 13 May 2019 13:52:10 +0000 (+0200) Subject: doc: announce power API change X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3477b7a2cc98bff634134c65ddb5540743eb01e7;p=dpdk.git 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 --- 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.