From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 992DE431E4; Mon, 23 Oct 2023 18:12:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7083F40697; Mon, 23 Oct 2023 18:12:49 +0200 (CEST) Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.3]) by mails.dpdk.org (Postfix) with ESMTP id A0F22402CB for ; Mon, 23 Oct 2023 18:12:47 +0200 (CEST) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 553881A388 for ; Mon, 23 Oct 2023 18:12:47 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 4937D1A387; Mon, 23 Oct 2023 18:12:47 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on hermod.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.4.6 X-Spam-Score: -1.5 Received: from [192.168.1.59] (h-62-63-215-114.A163.priv.bahnhof.se [62.63.215.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 8E84419F3C; Mon, 23 Oct 2023 18:12:44 +0200 (CEST) Message-ID: <306b1bf6-0649-453c-9925-1a3d49aaac44@lysator.liu.se> Date: Mon, 23 Oct 2023 18:12:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 04/14] eal: make rte_drand a stable API Content-Language: en-US To: Stephen Hemminger , dev@dpdk.org Cc: =?UTF-8?Q?Mattias_R=C3=B6nnblom?= References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> <20231020214119.255491-5-stephen@networkplumber.org> From: =?UTF-8?Q?Mattias_R=C3=B6nnblom?= In-Reply-To: <20231020214119.255491-5-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP 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 On 2023-10-20 23:41, Stephen Hemminger wrote: > This API was added in 2020. > > Signed-off-by: Stephen Hemminger > --- > 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