Go to file
Mattias Rönnblom 388c4c03ec power: handle frequency increase with turbo disabled
Calling pstate's or acpi's rte_power_freq_up() when on the highest
non-turbo frequency results in an error, if turbo is enabled in the BIOS,
but disabled via the power library.
The error is in the form of a return code and a RTE_LOG() entry
on the ERR level.

According to the API documentation, the frequency is scaled up
"according to the available frequencies". In case turbo is disabled,
that frequency is not available. This patch's rte_power_freq_up()
behaviour is also consistent with how rte_power_freq_max() is
implemented (i.e. the highest non-turbo frequency is set, in case
turbo is disabled).

Fixes: 445c6528b5 ("power: common interface for guest and host")
Fixes: e6c6dc0f96 ("power: add p-state driver compatibility")
Cc: stable@dpdk.org

Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
Tested-by: David Hunt <david.hunt@intel.com>
Acked-by: David Hunt <david.hunt@intel.com>
Reviewed-by: Liang Ma <liang.j.ma@intel.com>
2019-11-21 00:52:31 +01:00
.ci ci: add 32-bit travis builds 2019-11-19 22:23:31 +01:00
app app/testpmd: fix invalid port detaching 2019-11-21 00:18:02 +01:00
buildtools buildtools: add ABI version check script 2019-11-20 23:05:39 +01:00
config config: add eMAG 2019-11-21 00:30:39 +01:00
devtools devtools: reduce list of Arm builds tested with meson 2019-11-21 00:23:58 +01:00
doc kni: increase kernel version requirement for VA 2019-11-21 00:18:02 +01:00
drivers bus/pci: clear driver on detach 2019-11-21 00:18:02 +01:00
examples examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
kernel kni: increase kernel version requirement for VA 2019-11-21 00:18:02 +01:00
lib power: handle frequency increase with turbo disabled 2019-11-21 00:52:31 +01:00
license
mk config: add eMAG 2019-11-21 00:30:39 +01:00
usertools usertools: fix telemetry client with python 3 2019-10-27 21:38:40 +01:00
.gitattributes
.gitignore
.travis.yml ci: add 32-bit travis builds 2019-11-19 22:23:31 +01:00
ABI_VERSION build: change ABI versioning to global 2019-11-20 23:05:39 +01:00
GNUmakefile
MAINTAINERS buildtools: add ABI version check script 2019-11-20 23:05:39 +01:00
Makefile
meson_options.txt build: change ABI versioning to global 2019-11-20 23:05:39 +01:00
meson.build build: print list of disabled components 2019-07-02 23:20:26 +02:00
README
VERSION version: 19.11-rc2 2019-11-12 09:07:25 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org