X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_power%2Frte_power.h;h=01f88588b5cfacd2b66f84da2769d9408dc79089;hb=324781da4daa58e084b0389783ed6fdfbfa5529b;hp=dee7af3455a1c55f293463d09116f6e350605e21;hpb=b60fd5f8b1ce8f0a2cf6ceb1e690c07977660bd0;p=dpdk.git diff --git a/lib/librte_power/rte_power.h b/lib/librte_power/rte_power.h index dee7af3455..01f88588b5 100644 --- a/lib/librte_power/rte_power.h +++ b/lib/librte_power/rte_power.h @@ -26,7 +26,8 @@ enum power_management_env {PM_ENV_NOT_SET, PM_ENV_ACPI_CPUFREQ, PM_ENV_KVM_VM, /** * 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. @@ -258,7 +259,7 @@ struct rte_power_core_capabilities { RTE_STD_C11 struct { uint64_t turbo:1; /**< Turbo can be enabled. */ - uint64_t priority:1; /**< Priority core */ + uint64_t priority:1; /**< SST-BF high freq core */ }; }; };