From patchwork Wed Sep 1 07:29:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Mattias_R=C3=B6nnblom?= X-Patchwork-Id: 97665 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C2F41A0C53; Wed, 1 Sep 2021 09:29:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9034E4013F; Wed, 1 Sep 2021 09:29:23 +0200 (CEST) Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.3]) by mails.dpdk.org (Postfix) with ESMTP id CE2A140041 for ; Wed, 1 Sep 2021 09:29:22 +0200 (CEST) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 930044001D for ; Wed, 1 Sep 2021 09:29:21 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 7F7674000F; Wed, 1 Sep 2021 09:29:21 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.4.2 X-Spam-Score: -1.0 Received: from isengard.friendlyfire.se (h-62-63-215-114.A163.priv.bahnhof.se [62.63.215.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 956AA40005; Wed, 1 Sep 2021 09:29:15 +0200 (CEST) From: =?utf-8?q?Mattias_R=C3=B6nnblom?= To: Ray Kinsella Cc: dev@dpdk.org, =?utf-8?q?Mattias_R=C3=B6nnblom?= Date: Wed, 1 Sep 2021 09:29:12 +0200 Message-Id: <20210901072912.73279-1-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH] eal: promote random function with upper bound to stable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Remove experimental tag from rte_rand_max(). Signed-off-by: Mattias Rönnblom Acked-by: Ray Kinsella --- 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;