test/power: fix low frequency test when turbo enabled
authorDavid Hunt <david.hunt@intel.com>
Wed, 12 May 2021 16:32:53 +0000 (17:32 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 12 May 2021 20:03:12 +0000 (22:03 +0200)
commit0745214e9239784a62dba28c6ad6bbb211cde949
tree1b22d33332dafb57a6f745bce91238c1461be7f1
parent6db92b3b9bb130acf0bc9d774ab2d75ea67d00df
test/power: fix low frequency test when turbo enabled

With the intel_pstate driver and turbo enabled, indexing is slightly
different to normal, so to get the test to work properly, enable
turbo at the start.

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