test/power: handle p-state mode
authorDavid Hunt <david.hunt@intel.com>
Mon, 7 Jan 2019 14:40:51 +0000 (14:40 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 15 Jan 2019 01:40:41 +0000 (02:40 +0100)
commitf21bb93126b45ff4026049868948b6d9153b22b9
treeb6a033e6fe143a26b5c2c32a5d9bbe48f46853b5
parentad514edf71fbd54c3ef0a8a1b3e112a8f52f53c9
test/power: handle p-state mode

The cpufreq test breakes when the system is using the intel_pstate
driver for frequency management. The power library has recentyly been
updated to allow use of the intel_pstate driver, this patch fixes the
cpufreq test so that it can now use either acpi or pstate modes.
The library will auto-detect, and set the environment appropriately.

Fixes: ed7c51a6a680 ("app/test: vm power management")
Cc: stable@dpdk.org
Signed-off-by: David Hunt <david.hunt@intel.com>
test/test/test_power_acpi_cpufreq.c