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 CEA24A0555; Thu, 26 May 2022 11:56:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B3E9A4161A; Thu, 26 May 2022 11:56:16 +0200 (CEST) Received: from mail-108-mta34.mxroute.com (mail-108-mta34.mxroute.com [136.175.108.34]) by mails.dpdk.org (Postfix) with ESMTP id B0A7A40E78 for ; Thu, 26 May 2022 11:56:14 +0200 (CEST) Received: from filter006.mxroute.com ([140.82.40.27] 140.82.40.27.vultrusercontent.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta34.mxroute.com (ZoneMTA) with ESMTPSA id 180ffcb8678000c327.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Thu, 26 May 2022 09:56:09 +0000 X-Zone-Loop: 5900173920e6e044bb2869259851b3fb95942d105fd2 X-Originating-IP: [140.82.40.27] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ashroe.eu; s=x; h=Content-Type:MIME-Version:Message-ID:Date:In-reply-to:Subject:Cc:To: From:References:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=1QfUYfsYe5jVfew/sA6TQAlKj4fNYkVuvXBmZzzzS34=; b=UUm3Gn6KYiH3ymKy2VuYe+I2lK qw1ablXMGH4rXOLGusnWXxB3/xZ19fH+d7rJGa4WBtWrq4PeRLDxj0uhnYWdLj80ebRR427+cqeHP RjqnVMe4Vmoe4dtcF5R7RtN1ng2qEQTw1FaXghrSuVfBfwKieglduoWEu92cn/Wd0SKP5rjkncSvS jl+2aK7i7q4cSJUFsqhg56dZEtvVqn3podAUA0nuqPhtS6516Pjp9B00V6cVXUd6d8I37x7wb4Xdp Zhm4GVNqia4Y9t3TgglwogRTHU/w+wzTCUH4AAqBZWg0GHnw7KTrE79t6mnJgkIPxQVd8iDU1y9+R 7/iCaf/A==; References: <20220524184623.480646-1-stephen@networkplumber.org> <20220525203123.277180-1-stephen@networkplumber.org> <20220525203123.277180-2-stephen@networkplumber.org> User-agent: mu4e 1.4.15; emacs 27.1 From: Ray Kinsella To: Stephen Hemminger Cc: dev@dpdk.org, Mattias =?utf-8?Q?R=C3=B6nnblom?= Subject: Re: [PATCH v4 1/3] random: add rte_drand() function In-reply-to: <20220525203123.277180-2-stephen@networkplumber.org> Date: Thu, 26 May 2022 10:56:05 +0100 Message-ID: <87r14gbosq.fsf@mdr78.vserver.site> MIME-Version: 1.0 Content-Type: text/plain X-AuthUser: mdr@ashroe.eu 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 Stephen Hemminger writes: > The PIE code and other applications can benefit from having a > fast way to get a random floating point value. This new function > is equivalent to drand() in the standard library. > > Signed-off-by: Stephen Hemminger > --- > app/test/test_rand_perf.c | 7 +++++ > doc/guides/rel_notes/release_22_07.rst | 5 ++++ > lib/eal/common/rte_random.c | 41 ++++++++++++++++++++++++++ > lib/eal/include/rte_random.h | 18 +++++++++++ > lib/eal/meson.build | 3 ++ > lib/eal/version.map | 1 + > 6 files changed, 75 insertions(+) > Acked-by: Ray Kinsella