[PATCH 04/20] eal: promote rte_size_to_str to stable
Stephen Hemminger
stephen at networkplumber.org
Wed Oct 7 23:39:34 CEST 2026
rte_size_to_str() was added in 25.07 and has not changed. Its
counterpart rte_str_to_size() is already stable.
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
lib/eal/common/eal_common_string_fns.c | 2 +-
lib/eal/include/rte_common.h | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/lib/eal/common/eal_common_string_fns.c b/lib/eal/common/eal_common_string_fns.c
index e0dc48bd80..00ce95c011 100644
--- a/lib/eal/common/eal_common_string_fns.c
+++ b/lib/eal/common/eal_common_string_fns.c
@@ -114,7 +114,7 @@ rte_str_to_size(const char *str)
return size;
}
-RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_size_to_str, 25.07)
+RTE_EXPORT_SYMBOL(rte_size_to_str)
char *
rte_size_to_str(char *buf, int buf_size, uint64_t count, bool use_iec, const char *unit)
{
diff --git a/lib/eal/include/rte_common.h b/lib/eal/include/rte_common.h
index c3f5bae6dc..6c4ae332fc 100644
--- a/lib/eal/include/rte_common.h
+++ b/lib/eal/include/rte_common.h
@@ -1137,9 +1137,6 @@ uint64_t
rte_str_to_size(const char *str);
/**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice.
- *
* Converts the uint64_t value provided to a human-readable string.
* It null-terminates the string, truncating the data if needed.
* An optional unit (like "B") can be provided as a string. It will be
@@ -1167,7 +1164,6 @@ rte_str_to_size(const char *str);
* @return
* buf on success, NULL if the buffer is too small.
*/
-__rte_experimental
char *
rte_size_to_str(char *buf, int buf_size, uint64_t count, bool use_iec, const char *unit);
--
2.53.0
More information about the dev
mailing list