[PATCH v2 04/14] eal: make rte_drand a stable API
Mattias Rönnblom
hofors at lysator.liu.se
Mon Oct 23 18:12:44 CEST 2023
On 2023-10-20 23:41, Stephen Hemminger wrote:
> This API was added in 2020.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
> lib/eal/include/rte_random.h | 4 ----
> lib/eal/version.map | 4 +---
> 2 files changed, 1 insertion(+), 7 deletions(-)
>
> diff --git a/lib/eal/include/rte_random.h b/lib/eal/include/rte_random.h
> index c12eb07ea818..ea74ca020044 100644
> --- a/lib/eal/include/rte_random.h
> +++ b/lib/eal/include/rte_random.h
> @@ -70,9 +70,6 @@ uint64_t
> rte_rand_max(uint64_t upper_bound);
>
> /**
> - * @warning
> - * @b EXPERIMENTAL: this API may change without prior notice
> - *
> * Generates a pseudo-random floating point number.
> *
> * This function returns a non-negative double-precision floating random
> @@ -87,7 +84,6 @@ rte_rand_max(uint64_t upper_bound);
> * @return
> * A pseudo-random value between 0 and 1.0.
> */
> -__rte_experimental
> double rte_drand(void);
>
> #ifdef __cplusplus
> diff --git a/lib/eal/version.map b/lib/eal/version.map
> index 5fd7ceec94fb..edeb7ff518e2 100644
> --- a/lib/eal/version.map
> +++ b/lib/eal/version.map
> @@ -57,6 +57,7 @@ DPDK_24 {
> rte_devargs_parsef;
> rte_devargs_remove;
> rte_devargs_type_count;
> + rte_drand;
> rte_driver_name;
> rte_dump_physmem_layout;
> rte_dump_stack;
> @@ -395,9 +396,6 @@ EXPERIMENTAL {
> rte_intr_type_get;
> rte_intr_type_set;
>
> - # added in 22.07
> - rte_drand;
> -
> # added in 23.03
> rte_lcore_register_usage_cb;
> __rte_eal_trace_generic_blob;
Acked-by: Mattias Rönnblom <mattias.ronnblom at ericsson.com>
More information about the dev
mailing list