numam-dpdk/app
Richael Zhuang 29343b9030 test/power: fix CPU frequency when turbo enabled
On arm platform, the value in "/sys/.../cpuinfo_cur_freq" may not
be exactly the same as what was set when using CPPC cpufreq driver.
For other cpufreq driver, no need to round it currently, or else
this check will fail with turbo enabled. For example, with acpi_cpufreq,
cpuinfo_cur_freq can be 2401000 which is equal to freqs[0].It should
not be rounded to 2400000.

Fixes: 606a234c6d ("test/power: round CPU frequency to check")
Cc: stable@dpdk.org

Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>
Acked-by: David Hunt <david.hunt@intel.com>
2021-07-09 16:04:48 +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 when turbo enabled 2021-07-09 16:04:48 +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: change port link speed without stopping all 2021-07-02 19:03:03 +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