From patchwork Thu May 16 17:55:10 2019 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: 53489 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E241DD16D; Thu, 16 May 2019 19:55:36 +0200 (CEST) Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) by dpdk.org (Postfix) with ESMTP id 0CE3A5F1B for ; Thu, 16 May 2019 19:55:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/relaxed; q=dns/txt; i=@ericsson.com; t=1558029322; x=1560621322; 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=PD9GEtA2ka5cNOAsH3bMv4KkKfDJxToR2yVg1FN6ZU4=; b=ghDTF6J8LvHY5peUtEPFOLIJe/Ab/SlWNInIkQ/6923s6GTa/kDVj5ovKt0XwKfs d3fF7J0FExSOe9kQ9VdbB6DYk237x2dJfYX3rqwQFYvFL63t4UM9APdq14c5qhZf hwUR+JUMS23LY70kd0kUU54Gjt3mv3LbjW6fbcUgiik=; X-AuditID: c1b4fb30-6f5ff70000001814-76-5cdda40ac900 Received: from ESESBMB503.ericsson.se (Unknown_Domain [153.88.183.116]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id CF.B6.06164.A04ADDC5; Thu, 16 May 2019 19:55:22 +0200 (CEST) Received: from ESESBMR504.ericsson.se (153.88.183.139) by ESESBMB503.ericsson.se (153.88.183.170) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 16 May 2019 19:55:22 +0200 Received: from ESESSMB501.ericsson.se (153.88.183.162) by ESESBMR504.ericsson.se (153.88.183.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 16 May 2019 19:55:22 +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; Thu, 16 May 2019 19:55:21 +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 x4GHtHd0023701; Thu, 16 May 2019 19:55:22 +0200 (CEST) From: =?utf-8?q?Mattias_R=C3=B6nnblom?= To: CC: , , =?utf-8?q?Mattias_R=C3=B6nnblom?= Date: Thu, 16 May 2019 19:55:10 +0200 Message-ID: <20190516175510.27154-7-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190516175510.27154-1-mattias.ronnblom@ericsson.com> References: <20190514092046.30808-1-mattias.ronnblom@ericsson.com> <20190516175510.27154-1-mattias.ronnblom@ericsson.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrELMWRmVeSWpSXmKPExsUyM2J7iS7XkrsxBj82KVvcWGVv8e7TdiaL xXfkHJg9fi1YyuqxeM9LJo+ek/OYApijuGxSUnMyy1KL9O0SuDIOLPnGWnCJr6Lv526WBsZZ PF2MnBwSAiYSW///ZOli5OIQEjjKKDHrwn1mkISQwDdGicNvLSASQPbuS7PYIRIXGSU+P0+F SFxmlGie/RsswSbgKTH5XTcLiC0iICSx9ONldpAiZoFWRokdDxtZQRLCAm4SJ3q3AtkcHCwC qhKnJymAhHkFnCTWNB1hgThJXmL1hgNgV3AKOEtcPX+AFWJxtcTPrjVMEPWCEidnPgGrZxbQ lGjdDnEDM1Bv89bZUB9oSdxf8oV5AqPwLCQts5C0zELSsoCReRWjaHFqcVJuupGRXmpRZnJx cX6eXl5qySZGYMgf3PLbYAfjy+eOhxgFOBiVeHhj59yNEWJNLCuuzD3EKMHBrCTCu+H97Rgh 3pTEyqrUovz4otKc1OJDjNIcLErivNGr98QICaQnlqRmp6YWpBbBZJk4OKUaGCdLncs3/7C4 aEfdfjMNlrfnlIP2SwlIb7FdN5lraqlRPa/LM9ljzcIZ26JX2os5/9WMdTt6YZOpuWdf0teH R9799r589nPCrG/K6Ve9emZZJlkrC7OulqzZtnTbsdW8zPWJk5r+XVvLVXab3zJrduq32Od5 zw1zyloVN1+yrax7Mv3AXrWHr5VYijMSDbWYi4oTAZOsdrR1AgAA Subject: [dpdk-dev] [PATCH v2 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 --- MAINTAINERS | 6 ++++++ doc/guides/rel_notes/release_19_08.rst | 13 +++++++++++++ 2 files changed, 19 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 15d0829c5..d06f5da90 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 b9510f93a..62a9acf89 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 -------------