From: Marcin Hajkowski <marcinx.hajkow...@intel.com> Modifications to assure thread safety of rte_power APIs for power env set and unset, better user notification by returning more suitable value and internal data cleaning corrections.
Marcin Hajkowski (4): power: fix non thread-safe power env modification power: return error in set env when power env already set power: reset function pointers on unset env power: add UTs for all power env types app/test/test_power.c | 155 +++++++++++++++++++------ doc/guides/rel_notes/release_19_05.rst | 6 + lib/librte_power/rte_power.c | 52 +++++++-- lib/librte_power/rte_power.h | 3 +- 4 files changed, 170 insertions(+), 46 deletions(-) -- 2.17.2 -------------------------------------------------------------- Intel Research and Development Ireland Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.