All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>,
	Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Subject: [PATCH 02/20] eal: promote rte_basename to stable
Date: Wed,  7 Oct 2026 14:39:32 -0700	[thread overview]
Message-ID: <20261007214115.3092715-3-stephen@networkplumber.org> (raw)
In-Reply-To: <20261007214115.3092715-1-stephen@networkplumber.org>

rte_basename() was added in 25.11 as a portable replacement for
basename(), whose behaviour differs between the POSIX and GNU versions.
The prototype has not changed.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/eal/include/rte_string_fns.h | 4 ----
 lib/eal/unix/rte_basename.c      | 2 +-
 lib/eal/windows/rte_basename.c   | 2 +-
 3 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/lib/eal/include/rte_string_fns.h b/lib/eal/include/rte_string_fns.h
index b3b5bdf275..f7cfbf00b6 100644
--- a/lib/eal/include/rte_string_fns.h
+++ b/lib/eal/include/rte_string_fns.h
@@ -140,9 +140,6 @@ rte_str_skip_leading_spaces(const char *src)
 }
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice.
- *
  * Provides the final component of a path, similar to POSIX basename function.
  *
  * This API provides the similar behaviour on all platforms, Linux, BSD, Windows,
@@ -167,7 +164,6 @@ rte_str_skip_leading_spaces(const char *src)
  *   If the return value is >= buflen, truncation occurred.
  *   Return (size_t)-1 on error (Windows only)
  */
-__rte_experimental
 size_t
 rte_basename(const char *path, char *buf, size_t buflen);
 
diff --git a/lib/eal/unix/rte_basename.c b/lib/eal/unix/rte_basename.c
index a72d6bb3c9..f70c30b0f8 100644
--- a/lib/eal/unix/rte_basename.c
+++ b/lib/eal/unix/rte_basename.c
@@ -10,7 +10,7 @@
 #include <eal_export.h>
 #include <rte_string_fns.h>
 
-RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_basename, 25.11)
+RTE_EXPORT_SYMBOL(rte_basename)
 size_t
 rte_basename(const char *path, char *buf, size_t buflen)
 {
diff --git a/lib/eal/windows/rte_basename.c b/lib/eal/windows/rte_basename.c
index ede913e6c1..2c8cc9dc9d 100644
--- a/lib/eal/windows/rte_basename.c
+++ b/lib/eal/windows/rte_basename.c
@@ -7,7 +7,7 @@
 #include <eal_export.h>
 #include <rte_string_fns.h>
 
-RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_basename, 25.11)
+RTE_EXPORT_SYMBOL(rte_basename)
 size_t
 rte_basename(const char *path, char *buf, size_t buflen)
 {
-- 
2.53.0


  parent reply	other threads:[~2026-10-07 21:41 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-07 21:39 [PATCH 00/20] promote long standing experimental API to stable Stephen Hemminger
2026-10-07 21:39 ` [PATCH 01/20] eal: add missing export for rte_basename Stephen Hemminger
2026-10-08  9:56   ` Bruce Richardson
2026-10-07 21:39 ` Stephen Hemminger [this message]
2026-10-08  9:56   ` [PATCH 02/20] eal: promote rte_basename to stable Bruce Richardson
2026-10-07 21:39 ` [PATCH 03/20] eal: promote explicit zero and sensitive free " Stephen Hemminger
2026-10-08 10:01   ` Bruce Richardson
2026-10-07 21:39 ` [PATCH 04/20] eal: promote rte_size_to_str " Stephen Hemminger
2026-10-08 10:01   ` Bruce Richardson
2026-10-07 21:39 ` [PATCH 05/20] eal: promote lcore variables API " Stephen Hemminger
2026-10-08 10:04   ` Bruce Richardson
2026-10-07 21:39 ` [PATCH 06/20] cmdline: promote bool token ops " Stephen Hemminger
2026-10-08 10:05   ` Bruce Richardson
2026-10-07 21:39 ` [PATCH 07/20] ethdev: promote link connector to string " Stephen Hemminger
2026-10-07 21:39 ` [PATCH 08/20] port: promote SWX port API " Stephen Hemminger
2026-10-07 21:39 ` [PATCH 09/20] table: promote SWX table " Stephen Hemminger
2026-10-07 21:39 ` [PATCH 10/20] pipeline: promote SWX IPsec " Stephen Hemminger
2026-10-07 21:39 ` [PATCH 11/20] pipeline: promote SWX pipeline and control " Stephen Hemminger
2026-10-07 21:39 ` [PATCH 12/20] power: promote PM QoS and uncore " Stephen Hemminger
2026-10-07 21:39 ` [PATCH 13/20] ring: promote soring " Stephen Hemminger
2026-10-07 21:39 ` [PATCH 14/20] dispatcher: promote " Stephen Hemminger
2026-10-07 21:39 ` [PATCH 15/20] argparse: " Stephen Hemminger
2026-10-08 10:15   ` Bruce Richardson
2026-10-07 21:39 ` [PATCH 16/20] node: " Stephen Hemminger
2026-10-07 21:39 ` [PATCH 17/20] hash: promote RCU reclaim and thash key generation " Stephen Hemminger
2026-10-08 10:16   ` Bruce Richardson
2026-10-07 21:39 ` [PATCH 18/20] cryptodev: promote algorithm helpers " Stephen Hemminger
2026-10-07 21:39 ` [PATCH 19/20] pdcp: promote API " Stephen Hemminger
2026-10-07 21:39 ` [PATCH 20/20] mempool: promote memory range and alignment " Stephen Hemminger
2026-10-08  7:19   ` Morten Brørup

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=20261007214115.3092715-3-stephen@networkplumber.org \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=dmitry.kozliuk@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.