[PATCH v2 11/14] eal: mark rte_power API's stable
Stephen Hemminger
stephen at networkplumber.org
Fri Oct 20 23:41:16 CEST 2023
These were added back in 2020.
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
lib/eal/include/generic/rte_power_intrinsics.h | 16 ----------------
lib/eal/version.map | 12 ++++--------
2 files changed, 4 insertions(+), 24 deletions(-)
diff --git a/lib/eal/include/generic/rte_power_intrinsics.h b/lib/eal/include/generic/rte_power_intrinsics.h
index f981df7d75a1..922c32c83fdb 100644
--- a/lib/eal/include/generic/rte_power_intrinsics.h
+++ b/lib/eal/include/generic/rte_power_intrinsics.h
@@ -54,9 +54,6 @@ struct rte_power_monitor_cond {
};
/**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice.
- *
* Monitor specific address for changes. This will cause the CPU to enter an
* architecture-defined optimized power state until either the specified
* memory address is written to, a certain TSC timestamp is reached, or other
@@ -84,14 +81,10 @@ struct rte_power_monitor_cond {
* -EINVAL on invalid parameters
* -ENOTSUP if unsupported
*/
-__rte_experimental
int rte_power_monitor(const struct rte_power_monitor_cond *pmc,
const uint64_t tsc_timestamp);
/**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice.
- *
* Wake up a specific lcore that is in a power optimized state and is monitoring
* an address.
*
@@ -104,13 +97,9 @@ int rte_power_monitor(const struct rte_power_monitor_cond *pmc,
* @param lcore_id
* Lcore ID of a sleeping thread.
*/
-__rte_experimental
int rte_power_monitor_wakeup(const unsigned int lcore_id);
/**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice.
- *
* Enter an architecture-defined optimized power state until a certain TSC
* timestamp is reached.
*
@@ -126,13 +115,9 @@ int rte_power_monitor_wakeup(const unsigned int lcore_id);
* -EINVAL on invalid parameters
* -ENOTSUP if unsupported
*/
-__rte_experimental
int rte_power_pause(const uint64_t tsc_timestamp);
/**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice
- *
* Monitor a set of addresses for changes. This will cause the CPU to enter an
* architecture-defined optimized power state until either one of the specified
* memory addresses is written to, a certain TSC timestamp is reached, or other
@@ -160,7 +145,6 @@ int rte_power_pause(const uint64_t tsc_timestamp);
* -EINVAL on invalid parameters
* -ENOTSUP if unsupported
*/
-__rte_experimental
int rte_power_monitor_multi(const struct rte_power_monitor_cond pmc[],
const uint32_t num, const uint64_t tsc_timestamp);
diff --git a/lib/eal/version.map b/lib/eal/version.map
index 0dbd8b0573dd..3d4f6b5f79e6 100644
--- a/lib/eal/version.map
+++ b/lib/eal/version.map
@@ -233,6 +233,10 @@ DPDK_24 {
rte_mp_request_async;
rte_mp_request_sync;
rte_mp_sendmsg;
+ rte_power_monitor; # WINDOWS_NO_EXPORT
+ rte_power_monitor_wakeup; # WINDOWS_NO_EXPORT
+ rte_power_pause; # WINDOWS_NO_EXPORT
+ rte_power_monitor_multi; # WINDOWS_NO_EXPORT
rte_rand;
rte_rand_max;
rte_realloc;
@@ -378,11 +382,6 @@ EXPERIMENTAL {
rte_vect_get_max_simd_bitwidth;
rte_vect_set_max_simd_bitwidth;
- # added in 21.02
- rte_power_monitor; # WINDOWS_NO_EXPORT
- rte_power_monitor_wakeup; # WINDOWS_NO_EXPORT
- rte_power_pause; # WINDOWS_NO_EXPORT
-
# added in 21.05
rte_version_minor;
rte_version_month;
@@ -391,9 +390,6 @@ EXPERIMENTAL {
rte_version_suffix;
rte_version_year;
- # added in 21.08
- rte_power_monitor_multi; # WINDOWS_NO_EXPORT
-
# added in 21.11
# added in 23.03
--
2.39.2
More information about the dev
mailing list