DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Mattias Rönnblom" <mattias.ronnblom@ericsson.com>
To: Ray Kinsella <mdr@ashroe.eu>
Cc: dev@dpdk.org, "Mattias Rönnblom" <mattias.ronnblom@ericsson.com>
Subject: [dpdk-dev] [PATCH] eal: promote random function with upper bound to stable
Date: Wed,  1 Sep 2021 09:29:12 +0200	[thread overview]
Message-ID: <20210901072912.73279-1-mattias.ronnblom@ericsson.com> (raw)

Remove experimental tag from rte_rand_max().

Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
---
 lib/eal/include/rte_random.h | 1 -
 lib/eal/version.map          | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/eal/include/rte_random.h b/lib/eal/include/rte_random.h
index 2b30ec85c1..29f5f1325a 100644
--- a/lib/eal/include/rte_random.h
+++ b/lib/eal/include/rte_random.h
@@ -62,7 +62,6 @@ rte_rand(void);
  * @return
  *   A pseudo-random value between 0 and (upper_bound-1).
  */
-__rte_experimental
 uint64_t
 rte_rand_max(uint64_t upper_bound);
 
diff --git a/lib/eal/version.map b/lib/eal/version.map
index beeb986adc..92caaa2bd5 100644
--- a/lib/eal/version.map
+++ b/lib/eal/version.map
@@ -148,6 +148,7 @@ DPDK_22 {
 	rte_memzone_walk;
 	rte_openlog_stream;
 	rte_rand;
+	rte_rand_max;
 	rte_realloc;
 	rte_reciprocal_value;
 	rte_reciprocal_value_u64;
@@ -326,7 +327,6 @@ EXPERIMENTAL {
 	rte_lcore_to_cpu_id;
 	rte_mcfg_timer_lock;
 	rte_mcfg_timer_unlock;
-	rte_rand_max; # WINDOWS_NO_EXPORT
 
 	# added in 19.11
 	rte_mcfg_get_single_file_segments;
-- 
2.25.1


             reply	other threads:[~2021-09-01  7:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-01  7:29 Mattias Rönnblom [this message]
2021-09-01  7:35 ` Mattias Rönnblom
2021-09-01  7:42   ` David Marchand
2021-09-01 11:16 ` Kinsella, Ray
2021-10-02  8:23   ` David Marchand

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=20210901072912.73279-1-mattias.ronnblom@ericsson.com \
    --to=mattias.ronnblom@ericsson.com \
    --cc=dev@dpdk.org \
    --cc=mdr@ashroe.eu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).