diff options
author | Marcin Hajkowski <marcinx.hajkowski@intel.com> | 2019-05-13 15:52:10 +0200 |
---|---|---|
committer | Thomas Monjalon <thomas@monjalon.net> | 2019-05-13 23:38:21 +0200 |
commit | 3477b7a2cc98bff634134c65ddb5540743eb01e7 (patch) | |
tree | bed4e813395989643ab2d265545098d79dda7241 | |
parent | 8b16a7a6fa5df871cc2c9b15835cdbc4019046e6 (diff) | |
download | dpdk-3477b7a2cc98bff634134c65ddb5540743eb01e7.zip dpdk-3477b7a2cc98bff634134c65ddb5540743eb01e7.tar.gz dpdk-3477b7a2cc98bff634134c65ddb5540743eb01e7.tar.xz |
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 <marcinx.hajkowski@intel.com>
Reviewed-by: Rami Rosen <ramirose@gmail.com>
Acked-by: David Hunt <david.hunt@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
-rw-r--r-- | doc/guides/rel_notes/deprecation.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index ed8284c..098d243 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. |