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
devtools: test pkg-config file
[dpdk.git]
/
lib
/
librte_power
/
rte_power.h
diff --git
a/lib/librte_power/rte_power.h
b/lib/librte_power/rte_power.h
index
d70bc0b
..
01f8858
100644
(file)
--- a/
lib/librte_power/rte_power.h
+++ b/
lib/librte_power/rte_power.h
@@
-20,12
+20,14
@@
extern "C" {
#endif
/* Power Management Environment State */
#endif
/* Power Management Environment State */
-enum power_management_env {PM_ENV_NOT_SET, PM_ENV_ACPI_CPUFREQ, PM_ENV_KVM_VM};
+enum power_management_env {PM_ENV_NOT_SET, PM_ENV_ACPI_CPUFREQ, PM_ENV_KVM_VM,
+ PM_ENV_PSTATE_CPUFREQ};
/**
* Set the default power management implementation. If this is not called prior
* to rte_power_init(), then auto-detect of the environment will take place.
/**
* Set the default power management implementation. If this is not called prior
* to rte_power_init(), then auto-detect of the environment will take place.
- * It is not thread safe.
+ * It is thread safe. New env can be set only in unitialized state
+ * (thus rte_power_unset_env must be called if different env was already set).
*
* @param env
* env. The environment in which to initialise Power Management for.
*
* @param env
* env. The environment in which to initialise Power Management for.
@@
-257,6
+259,7
@@
struct rte_power_core_capabilities {
RTE_STD_C11
struct {
uint64_t turbo:1; /**< Turbo can be enabled. */
RTE_STD_C11
struct {
uint64_t turbo:1; /**< Turbo can be enabled. */
+ uint64_t priority:1; /**< SST-BF high freq core */
};
};
};
};
};
};