[PATCH 06/20] cmdline: promote bool token ops to stable
Bruce Richardson
bruce.richardson at intel.com
Thu Oct 8 12:05:32 CEST 2026
On Wed, Oct 07, 2026 at 02:39:36PM -0700, Stephen Hemminger wrote:
> The cmdline_token_bool_ops structure was added in 25.03 and has not
> changed. It was the only experimental symbol left in the cmdline
> library, where the other 69 exports are already stable.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
> doc/guides/rel_notes/release_26_11.rst | 2 ++
> lib/cmdline/cmdline_parse_bool.c | 2 +-
> 2 files changed, 3 insertions(+), 1 deletion(-)
>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Though see previous comment about release note entries. This might be
better just as a bullet under a main stabilization heading.
> diff --git a/doc/guides/rel_notes/release_26_11.rst b/doc/guides/rel_notes/release_26_11.rst
> index 62e7df5728..3ad6ba2d81 100644
> --- a/doc/guides/rel_notes/release_26_11.rst
> +++ b/doc/guides/rel_notes/release_26_11.rst
> @@ -221,6 +221,8 @@ API Changes
> Also, make sure to start the actual text at the margin.
> =======================================================
>
> +* cmdline: Promoted ``cmdline_token_bool_ops`` from experimental to stable.
> +
> * eal: Improved pointer arithmetic macros.
>
> * ``RTE_PTR_ADD``, ``RTE_PTR_SUB``, ``RTE_PTR_ALIGN``, ``RTE_PTR_ALIGN_CEIL``,
> diff --git a/lib/cmdline/cmdline_parse_bool.c b/lib/cmdline/cmdline_parse_bool.c
> index d5d5499531..ef41d2bc17 100644
> --- a/lib/cmdline/cmdline_parse_bool.c
> +++ b/lib/cmdline/cmdline_parse_bool.c
> @@ -18,7 +18,7 @@ cmdline_get_help_bool(cmdline_parse_token_hdr_t *tk, char *dstbuf,
> unsigned int size);
>
>
> -RTE_EXPORT_EXPERIMENTAL_SYMBOL(cmdline_token_bool_ops, 25.03)
> +RTE_EXPORT_SYMBOL(cmdline_token_bool_ops)
> struct cmdline_token_ops cmdline_token_bool_ops = {
> .parse = cmdline_parse_bool,
> .complete_get_nb = NULL,
> --
> 2.53.0
>
More information about the dev
mailing list