From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6AF03C433EF for ; Thu, 26 May 2022 07:06:14 +0000 (UTC) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7DF9C40E64; Thu, 26 May 2022 09:06:13 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id D2C0240DF7 for ; Thu, 26 May 2022 09:06:11 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH v4 0/3] introduce random floating point function Date: Thu, 26 May 2022 09:06:09 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D870B7@smartserver.smartshare.dk> X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <20220525203123.277180-1-stephen@networkplumber.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v4 0/3] introduce random floating point function Thread-Index: AdhwdmtcPYg18+fpSR+ANtX/mo7bKwAWJTAw References: <20220524184623.480646-1-stephen@networkplumber.org> <20220525203123.277180-1-stephen@networkplumber.org> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Stephen Hemminger" , 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 > From: Stephen Hemminger [mailto:stephen@networkplumber.org] > Sent: Wednesday, 25 May 2022 22.31 >=20 > Introduce a new random number function to get a floating > point value. Then use it to fix PIE scheduler. >=20 > v4 > - use slower divide method in rte_drand() if library > does not have ieee754 (FreeBSD and Windows?) > - fix some typos >=20 > v3 > - rename to rte_drand() and other review feedback > - fix warnings with some compilers in test code >=20 > Stephen Hemminger (3): > random: add rte_drand() function > rte_pie: remove unnecessary floating point > rte_pie: fix incorrect floating point math >=20 > 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 + > lib/sched/rte_pie.h | 7 ++--- > 7 files changed, 77 insertions(+), 5 deletions(-) >=20 > -- > 2.35.1 >=20 Series-Acked-by: Morten Br=F8rup