numam-dpdk/app
Richael Zhuang cf1e803508 test/power: fix CPU frequency check for intel_pstate
For acpi_cpufreq and cppc_cpufreq, both cpuinfo_cur_freq and
scaling_cur_freq exist. For pstate, only scaling_cur_freq exists.
And value in scaling_cur_freq and cpuinfo_cur_freq may not be the
same. For acpi_cpufreq and cppc_cpufreq, we should check
cpuinfo_cur_freq but not scaling_cur_freq. So here change the
check sequence to make sure it works for all cpufreq drivers.
Besides, add rounding for pstate driver.

Fixes: ff6dfb8e49 ("test/power: fix CPU frequency check")
Cc: stable@dpdk.org

Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>
Acked-by: David Hunt <david.hunt@intel.com>
2021-07-20 17:24:07 +02:00
..
pdump app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
proc-info app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test test/power: fix CPU frequency check for intel_pstate 2021-07-20 17:24:07 +02:00
test-acl app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-bbdev app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-cmdline app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-compress-perf app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-crypto-perf app/crypto-perf: fix out-of-place mempool allocation 2021-07-07 21:28:39 +02:00
test-eventdev app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-fib app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-flow-perf app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-pipeline app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-pmd app/testpmd: support matching on VXLAN reserved field 2021-07-13 15:06:43 +02:00
test-regex app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-sad app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
meson.build app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00