git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
power: add per-core turbo boost API
[dpdk.git]
/
lib
/
librte_power
/
channel_commands.h
diff --git
a/lib/librte_power/channel_commands.h
b/lib/librte_power/channel_commands.h
index
383897b
..
484085b
100644
(file)
--- a/
lib/librte_power/channel_commands.h
+++ b/
lib/librte_power/channel_commands.h
@@
-52,6
+52,8
@@
extern "C" {
#define CPU_POWER_SCALE_DOWN 2
#define CPU_POWER_SCALE_MAX 3
#define CPU_POWER_SCALE_MIN 4
+#define CPU_POWER_ENABLE_TURBO 5
+#define CPU_POWER_DISABLE_TURBO 6
struct channel_packet {
uint64_t resource_id; /**< core_num, device */