[PATCH 04/15] eal: make rte_version_XXX API's stable
Stephen Hemminger
stephen at networkplumber.org
Wed Aug 9 18:42:56 CEST 2023
The subparts of rte_version were added in 2020 and
can now be marked stable.
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
lib/eal/include/rte_version.h | 6 ------
lib/eal/version.map | 12 ++++++------
2 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/lib/eal/include/rte_version.h b/lib/eal/include/rte_version.h
index 414b6167f286..121d75bdbe28 100644
--- a/lib/eal/include/rte_version.h
+++ b/lib/eal/include/rte_version.h
@@ -35,37 +35,31 @@ extern "C" {
/**
* Function to return DPDK version prefix string
*/
-__rte_experimental
const char *rte_version_prefix(void);
/**
* Function to return DPDK version year
*/
-__rte_experimental
unsigned int rte_version_year(void);
/**
* Function to return DPDK version month
*/
-__rte_experimental
unsigned int rte_version_month(void);
/**
* Function to return DPDK minor version number
*/
-__rte_experimental
unsigned int rte_version_minor(void);
/**
* Function to return DPDK version suffix for any release candidates
*/
-__rte_experimental
const char *rte_version_suffix(void);
/**
* Function to return DPDK version release candidate value
*/
-__rte_experimental
unsigned int rte_version_release(void);
/**
diff --git a/lib/eal/version.map b/lib/eal/version.map
index 2f00f6a97989..e6d2fda95770 100644
--- a/lib/eal/version.map
+++ b/lib/eal/version.map
@@ -299,6 +299,12 @@ DPDK_24 {
rte_uuid_parse;
rte_uuid_unparse;
rte_version;
+ rte_version_minor;
+ rte_version_month;
+ rte_version_prefix;
+ rte_version_release;
+ rte_version_suffix;
+ rte_version_year;
rte_vfio_clear_group; # WINDOWS_NO_EXPORT
rte_vfio_container_create; # WINDOWS_NO_EXPORT
rte_vfio_container_destroy; # WINDOWS_NO_EXPORT
@@ -381,12 +387,6 @@ EXPERIMENTAL {
rte_thread_key_delete;
rte_thread_value_get;
rte_thread_value_set;
- rte_version_minor;
- rte_version_month;
- rte_version_prefix;
- rte_version_release;
- rte_version_suffix;
- rte_version_year;
# added in 21.08
rte_power_monitor_multi; # WINDOWS_NO_EXPORT
--
2.39.2
More information about the dev
mailing list