From: Marcin Hajkowski <marcinx.hajkow...@intel.com> Enhance rte_power API user notification by returning more suitable value in case of power environment setting, add related tests and some internal data cleaning corrections.
Please note that changes depends on patch (http://patchwork.dpdk.org/patch/52349/) which should be applied at first place. Marcin Hajkowski (3): 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 | 156 +++++++++++++++++++++++++++-------- lib/librte_power/rte_power.c | 24 +++++- lib/librte_power/rte_power.h | 3 +- 3 files changed, 145 insertions(+), 38 deletions(-) -- 2.17.2