From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [PATCH v2 11/14] eal: mark rte_power API's stable
Date: Fri, 20 Oct 2023 14:41:16 -0700 [thread overview]
Message-ID: <20231020214119.255491-12-stephen@networkplumber.org> (raw)
In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org>
These were added back in 2020.
Signed-off-by: Stephen Hemminger <stephen@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
next prev parent reply other threads:[~2023-10-20 21:42 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-09 16:42 [PATCH 00/15] eal: mark older " Stephen Hemminger
2023-08-09 16:42 ` [PATCH 01/15] eal: make bitops a stable API Stephen Hemminger
2023-08-09 17:58 ` Tyler Retzlaff
2023-08-09 20:07 ` Stephen Hemminger
2023-08-09 21:59 ` Tyler Retzlaff
2023-08-09 16:42 ` [PATCH 02/15] eal: mark rte_dev API's as stable Stephen Hemminger
2023-08-09 16:42 ` [PATCH 03/15] eal: make rte_class API's stable Stephen Hemminger
2023-08-09 16:42 ` [PATCH 04/15] eal: make rte_version_XXX " Stephen Hemminger
2023-08-10 8:24 ` Bruce Richardson
2023-08-09 16:42 ` [PATCH 05/15] eal: make rte_drand a stable API Stephen Hemminger
2023-08-09 16:42 ` [PATCH 06/15] eal: make rte_service_lcore_may_be_active stable Stephen Hemminger
2023-08-10 9:08 ` Van Haaren, Harry
2023-08-09 16:42 ` [PATCH 07/15] eal: make rte_devargs_reset stable Stephen Hemminger
2023-08-09 16:43 ` [PATCH 08/15] eal: make pflock API stable Stephen Hemminger
2023-08-09 16:43 ` [PATCH 09/15] eal: make seqcount and seqlock stable Stephen Hemminger
2023-08-09 19:47 ` Mattias Rönnblom
2023-08-09 16:43 ` [PATCH 10/15] eal: mark rte_intr_XXX API's as stable Stephen Hemminger
2023-08-09 16:43 ` [PATCH 11/15] eal: mark rte_atomic128_cmp_exchange " Stephen Hemminger
2023-08-09 17:50 ` Tyler Retzlaff
2023-08-09 16:43 ` [PATCH 12/15] eal: make most rte_thread API's stable Stephen Hemminger
2023-08-09 17:53 ` Tyler Retzlaff
2023-08-09 16:43 ` [PATCH 13/15] eal: mark rte_power " Stephen Hemminger
2023-08-09 16:43 ` [PATCH 14/15] eal: mark rte_eal_vfio_get_token stable Stephen Hemminger
2023-08-09 17:55 ` Tyler Retzlaff
2023-08-09 16:43 ` [PATCH 15/15] eal: mark rte_vect simd bandwidth API as stable Stephen Hemminger
2023-10-18 19:29 ` [PATCH 00/15] eal: mark older API's stable David Marchand
2023-10-20 21:41 ` [PATCH v2 00/14] eal: mark older API's as stable Stephen Hemminger
2023-10-20 21:41 ` [PATCH v2 01/14] eal: make bitops a stable API Stephen Hemminger
2023-10-23 2:31 ` Joyce Kong
2023-10-20 21:41 ` [PATCH v2 02/14] eal: mark rte_dev API's as stable Stephen Hemminger
2023-10-20 21:41 ` [PATCH v2 03/14] eal: make rte_class API's stable Stephen Hemminger
2023-10-20 21:41 ` [PATCH v2 04/14] eal: make rte_drand a stable API Stephen Hemminger
2023-10-23 16:12 ` Mattias Rönnblom
2023-10-20 21:41 ` [PATCH v2 05/14] eal: make rte_service_lcore_may_be_active stable Stephen Hemminger
2023-10-20 21:41 ` [PATCH v2 06/14] eal: make rte_devargs_reset stable Stephen Hemminger
2023-10-20 21:41 ` [PATCH v2 07/14] eal: make pflock API stable Stephen Hemminger
2023-10-20 21:41 ` [PATCH v2 08/14] eal: make seqcount and seqlock stable Stephen Hemminger
2023-10-23 16:14 ` Mattias Rönnblom
2023-10-20 21:41 ` [PATCH v2 09/14] eal: mark rte_intr_XXX API's as stable Stephen Hemminger
2023-10-20 21:41 ` [PATCH v2 10/14] eal: mark rte_atomic128_cmp_exchange " Stephen Hemminger
2023-10-23 3:00 ` Ruifeng Wang
2023-10-20 21:41 ` Stephen Hemminger [this message]
2023-10-20 21:41 ` [PATCH v2 12/14] eal: mark rte_eal_vfio_get_token stable Stephen Hemminger
2023-10-20 21:41 ` [PATCH v2 13/14] eal: mark rte_vect simd bandwidth API as stable Stephen Hemminger
2023-10-20 21:41 ` [PATCH v2 14/14] eal: make rte_version API's stable Stephen Hemminger
2023-10-23 9:13 ` [PATCH v2 00/14] eal: mark older API's as stable Bruce Richardson
2023-11-14 13:10 ` David Marchand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231020214119.255491-12-stephen@networkplumber.org \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).