From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 830ACA0096 for ; Wed, 5 Jun 2019 12:45:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3E61F1BA8F; Wed, 5 Jun 2019 12:44:38 +0200 (CEST) Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) by dpdk.org (Postfix) with ESMTP id 496D11BA8F for ; Wed, 5 Jun 2019 12:44:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/relaxed; q=dns/txt; i=@ericsson.com; t=1559731473; x=1562323473; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=AQGw568esTTlYd2rkgaHdF07pRl71eYbZvSR4Wk2VIo=; b=GroCxP8iV8jKD3cehBG+bG7m5B5+7aOQjUZF3oXSZXM9VHfEOg/lHflE7UGbchX+ oM+MguKFpooznEBNY1MWRotniVbIXif6/L8coRzNWbku8ju0TfRwTVwcq7uhlxAq awPMM7b7s0KwlwmCD0mdIfghRfPcHfSEQHTstgkw06s=; X-AuditID: c1b4fb3a-b6bb79e00000189f-39-5cf79d11e275 Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id E4.FD.06303.11D97FC5; Wed, 5 Jun 2019 12:44:33 +0200 (CEST) Received: from ESESSMB501.ericsson.se (153.88.183.162) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 5 Jun 2019 12:44:27 +0200 Received: from selio1a020.lmera.ericsson.se (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.189) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Wed, 5 Jun 2019 12:44:27 +0200 Received: from breslau.lmera.ericsson.se (breslau.lmera.ericsson.se [150.132.109.241]) by selio1a020.lmera.ericsson.se (8.15.1+Sun/8.15.1) with ESMTP id x55AiQRG025408; Wed, 5 Jun 2019 12:44:27 +0200 (CEST) From: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= To: CC: , , , , =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Date: Wed, 5 Jun 2019 12:44:00 +0200 Message-ID: <20190605104400.24484-7-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190605104400.24484-1-mattias.ronnblom@ericsson.com> References: <20190516203529.GA642@bricha3-MOBL.ger.corp.intel.com> <20190605104400.24484-1-mattias.ronnblom@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJLMWRmVeSWpSXmKPExsUyM2J7ua7g3O8xBveuGFjcWGVvsX1FF5vF u0/bmSxuNZ9ks1h8R86B1ePXgqWsHov3vGTy6Dk5j8nj/b6rbB5Xvq9mDGCN4rJJSc3JLEst 0rdL4MrYMe0bc0E3f8XRdToNjOd4uhg5OSQETCRmnJrCBmILCRxllGh/Ht7FyAVkf2WUuHew mx3CucAo0XT4JDtE1SVGiXkHUkFsNgFPicnvullAbBEBIYmlHy+DNTAL7GWUeLVuHlhCWMBN on3+brBmFgEVieePj4Ot4xVwkmhseMwMcYa8xOoNB8BsTgFnicfT9zNBLKuWmPC2mQmiXlDi 5MwnYDOZBTQlWrf/Zoew5SWat85mhqjXkri/5AvzBEahWUhaZiFpmYWkZQEj8ypG0eLU4uLc dCMjvdSizOTi4vw8vbzUkk2MwAg4uOW31Q7Gg88dDzEKcDAq8fBe6/0eI8SaWFZcmXuIUYKD WUmEN/H2lxgh3pTEyqrUovz4otKc1OJDjNIcLErivNGr98QICaQnlqRmp6YWpBbBZJk4OKUa GN0KM5dqrewqWXF+ptW3TF/ZJm2+5gm8ehH9sQsXx1/eWVO60bhw5aqo694c6iaRsuL9YRbP RNktWtZs1Oh3XMZnet1j/vSOhaVLXDeuLs2cVzDVNN0qR+iC3t6Z59uvfBAuufgvK99W/oCc +hPPZQo8nzo3lagfutzin6oXltbhlHQgXP6ZEktxRqKhFnNRcSIA9HHJ83wCAAA= Subject: [dpdk-dev] [PATCH v3 6/6] eal: add PRNG to MAINTAINERS and release notes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Add a section on PRNG in MAINTAINERS, and information on the PRNG improvements in the 19.08 release notes. Signed-off-by: Mattias Rönnblom Acked-by: Bruce Richardson --- MAINTAINERS | 6 ++++++ doc/guides/rel_notes/release_19_08.rst | 13 +++++++++++++ 2 files changed, 19 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d0bf259b8..fad4a7bc0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -222,6 +222,12 @@ M: Joyce Kong F: lib/librte_eal/common/include/generic/rte_ticketlock.h F: app/test/test_ticketlock.c +Pseudo-random Number Generation +M: Mattias Rönnblom +F: lib/librte_eal/common/include/rte_random.h +F: lib/librte_eal/common/rte_random.c +F: app/test/test_rand_perf.c + ARM v7 M: Jan Viktorin M: Gavin Hu diff --git a/doc/guides/rel_notes/release_19_08.rst b/doc/guides/rel_notes/release_19_08.rst index c199270c5..b6195dd14 100644 --- a/doc/guides/rel_notes/release_19_08.rst +++ b/doc/guides/rel_notes/release_19_08.rst @@ -54,6 +54,19 @@ New Features Also, make sure to start the actual text at the margin. ========================================================= +* **Updated the EAL Pseudo-random Number Generator.** + + The lrand48()-based rte_rand() function is replaced with a + DPDK-native combined Linear Feedback Shift Register (LFSR) + pseudo-random number generator (PRNG). + + This new PRNG implementation is multi-thread safe, provides + higher-quality pseudo-random numbers (including full 64 bit + support) and improved performance. + + In addition, is extended with a new function + rte_rand_max() which supplies unbiased, bounded pseudo-random + numbers. Removed Items ------------- -- 2.17.1