doc: update IPsec multi-buffer library version
[dpdk.git] / lib / librte_power / rte_power.h
index 7d57359..b17b7a5 100644 (file)
@@ -68,19 +68,12 @@ int rte_power_set_env(enum power_management_env env);
 /**
  * Unset the global environment configuration.
  * This can only be called after all threads have completed.
- *
- * @param None.
- *
- * @return
- *  None.
  */
 void rte_power_unset_env(void);
 
 /**
  * Get the default power management implementation.
  *
- * @param None.
- *
  * @return
  *  power_management_env The configured environment.
  */
@@ -104,7 +97,6 @@ int rte_power_init(unsigned lcore_id);
  * Exit power management on a specific lcore. This will call the environment
  * dependent exit function.
  *
- *
  * @param lcore_id
  *  lcore id.
  *
@@ -244,6 +236,47 @@ extern rte_power_freq_change_t rte_power_freq_max;
  */
 extern rte_power_freq_change_t rte_power_freq_min;
 
+/**
+ * Query the Turbo Boost status of a specific lcore.
+ * Review each environments specific documentation for usage..
+ *
+ * @param lcore_id
+ *  lcore id.
+ *
+ * @return
+ *  - 1 Turbo Boost is enabled for this lcore.
+ *  - 0 Turbo Boost is disabled for this lcore.
+ *  - Negative on error.
+ */
+extern rte_power_freq_change_t rte_power_turbo_status;
+
+/**
+ * Enable Turbo Boost for this lcore.
+ * Review each environments specific documentation for usage..
+ *
+ * @param lcore_id
+ *  lcore id.
+ *
+ * @return
+ *  - 0 on success.
+ *  - Negative on error.
+ */
+extern rte_power_freq_change_t rte_power_freq_enable_turbo;
+
+/**
+ * Disable Turbo Boost for this lcore.
+ * Review each environments specific documentation for usage..
+ *
+ * @param lcore_id
+ *  lcore id.
+ *
+ * @return
+ *  - 0 on success.
+ *  - Negative on error.
+ */
+extern rte_power_freq_change_t rte_power_freq_disable_turbo;
+
+
 #ifdef __cplusplus
 }
 #endif