From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 120E0A0588; Thu, 16 Apr 2020 14:00:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B63091DC1E; Thu, 16 Apr 2020 14:00:21 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80072.outbound.protection.outlook.com [40.107.8.72]) by dpdk.org (Postfix) with ESMTP id 74DF11DB4F for ; Thu, 16 Apr 2020 14:00:19 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IlL0KJqVSxcMPtrTfZEVKixsl57R/WRhV430WJts46agZLwaTAX5TKeFxSm3HGzOklD8p6f0DSl2j5RoVy00MIdBG/e8oggRMC22ge3CaOiwuqRqq1SQfBEX5CFV1czRc6UypdHTt8i5HPb0vfBqf0pjhBjTu9yj/fj/svuo7ss9wGFDEDvpJmbfroEreqTlX1Rta5cracbp1x2c/33aTqdsUgS4/FZ7q5KCQamFtQPxevYROxXDkCjQmU90rjH/GW7SNbkvVB7sgLeFnfayKoSIGxSfmzCr/ljXi5I+OmrOcvPS8hhFyFK6E+1c6tm8s05AV/UfDKWh+4SDUBrUDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QLpsOOunA+wDG5wvrt3d8PP2CBvsDVGv4KwdpqYNY1k=; b=f9Oy3f06M0FfVXwxDT4NmwXLt9uWKQVxZWKg4L6TBxTkb7E+48m66fVO6wGgDTqedZso8l5KfZFF7efkwpKIuGLNGi0qjFWw5Ohh+txlvZlRGDWeqVSl4T5Gm8VqlrFdqdYiouilVgeNporRdQ8HSnBjkSjQlnk9o6Tvzva4UfQ0W9+0FmNPudGJL8LsLhClflCX9PTNNgeZYhfwbgysnblK1oA5NxyTBAYmNvqIt1prhEE8yUYT7fuIhqb1kMc+QH3T4Dd0jxI67QuBvG310G0AuYScu5X0upNwJmnJMygSmqjVs0K/RfHzIa6bb827w89iPODeHkecn/hpoq4dEQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QLpsOOunA+wDG5wvrt3d8PP2CBvsDVGv4KwdpqYNY1k=; b=ryLfFxQOW8Bac0Knx8nJG5S3+vsMVz9KAcmxrx0+GAeVpOP6sNwr31khWV8o+/UlhpWQ/xFSjO34gEz9brtWUSO1sp95iw7MVLJK0m8I1pOkOyfw9WbZUWb4gYbeKVl3snQG0qxeItu9c7Iuhoz5xTsD4R+KIWF7ahKMCBaI/tw= Received: from HE1PR07MB4284.eurprd07.prod.outlook.com (2603:10a6:7:9f::29) by HE1PR07MB3195.eurprd07.prod.outlook.com (2603:10a6:7:2f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.24; Thu, 16 Apr 2020 12:00:18 +0000 Received: from HE1PR07MB4284.eurprd07.prod.outlook.com ([fe80::542b:7b22:1f38:d985]) by HE1PR07MB4284.eurprd07.prod.outlook.com ([fe80::542b:7b22:1f38:d985%5]) with mapi id 15.20.2921.024; Thu, 16 Apr 2020 12:00:18 +0000 From: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= To: Jerin Jacob CC: Dan Gora , Thomas Monjalon , David Marchand , dpdk-dev , Gavin Hu , Honnappa Nagarahalli Thread-Topic: [dpdk-dev] [PATCH] eal: choose initial PRNG seed source at runtime Thread-Index: AQHWE3tyGZrUY9iFM0qlupRqTIy7x6h7Q8iAgABbtACAAANrAIAAA1KA Date: Thu, 16 Apr 2020 12:00:18 +0000 Message-ID: <23f2aad5-7efc-bf11-9233-5b10fc5e9e61@ericsson.com> References: <20200415231119.27845-1-dg@adax.com> <2114f9a2-bda4-4796-7872-bf21f7e9f327@ericsson.com> In-Reply-To: Accept-Language: sv-SE, en-US Content-Language: sv-SE X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 authentication-results: spf=none (sender IP is ) smtp.mailfrom=mattias.ronnblom@ericsson.com; x-originating-ip: [95.205.139.88] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e1843ea4-1857-4b72-785f-08d7e1fdbb5a x-ms-traffictypediagnostic: HE1PR07MB3195: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0375972289 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR07MB4284.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(39860400002)(136003)(346002)(366004)(376002)(396003)(54906003)(81156014)(31696002)(6512007)(36756003)(71200400001)(53546011)(6506007)(85202003)(186003)(8936002)(66574012)(86362001)(316002)(76116006)(966005)(6916009)(2616005)(6486002)(31686004)(66946007)(2906002)(26005)(4326008)(64756008)(478600001)(5660300002)(85182001)(8676002)(66446008)(66476007)(66556008); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9bI+z/SasgEfqoCHul9huXK6b7CIoAGr9qKrw07zyRSrAILjPRGsDjOuiRw9oReJOaVj90Tq2V0a1pWN1cCDwilFg2qJTtr8PdB84tp9aTTO6JLNueKA3czjnJMtji+TuOgbpf889xhInCUs7N7VGoytrcvyQHVLldFeGceLdvnZhWC5yLhE1OKi+IFwRNDUJZZfyVJ2TnTPEYnz0jCmyYnYDoHAt54hipgGTvSlpKkylMog0BG3CoyOO3IYNJNjFTBlb/tpkp25esEqp3U9L24G/+hftc2FkxqNmUznuU66mUPd6U/C4hr3RYHZiCBDcJrQFO5AH1Dhhl8ki0qkp14FpwN/mENz9XgWnJjLUGpvdWaWl0sHBbuRwhK34ohsHBrG7cmyomQ9eNcNDhwIQ/5UVhTOx9pr74ndxUOFMWX80oZKxsFJn99osgA2pgZwMA0AqrRSnRFmkB3dSs+x19bw7JKJvy+lnFBrMkzfgwRCfDdbRZRMYkDBc9CQsqsqR2luVDZSh8oHwGhNvTI/dg== x-ms-exchange-antispam-messagedata: JYy8Rx16rdx5YbmL7O4MR/FmfdhhTZA16MBQDCamvUxmJR8U4ZiRrGiq2NutPrNC2tmlGxTuVnp65pl1YowHADcIfYv/ZFOMICIRyUW4a8DzGzf8iFNsDdP7bTKmbvEKpJ+75CLwusWJK/yG8W1DyA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-Network-Message-Id: e1843ea4-1857-4b72-785f-08d7e1fdbb5a X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2020 12:00:18.1219 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: d93TfoUy+5cRxWzwy7vrDlM8OoffM59PPuj3fBYxVk2S5BQ/avbaNohBkjIQVMi6SUg4+ZnmkEsmTsfuZsTIo49x6SywM3ou5FKZ56Zmbfs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3195 Subject: Re: [dpdk-dev] [PATCH] eal: choose initial PRNG seed source at runtime 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" T24gMjAyMC0wNC0xNiAxMzo0OCwgSmVyaW4gSmFjb2Igd3JvdGU6DQo+IE9uIFRodSwgQXByIDE2 LCAyMDIwIGF0IDU6MDYgUE0gTWF0dGlhcyBSw7ZubmJsb20NCj4gPG1hdHRpYXMucm9ubmJsb21A ZXJpY3Nzb24uY29tPiB3cm90ZToNCj4+IE9uIDIwMjAtMDQtMTYgMDg6MDcsIEplcmluIEphY29i IHdyb3RlOg0KPj4+IE9uIFRodSwgQXByIDE2LCAyMDIwIGF0IDQ6NDIgQU0gRGFuIEdvcmEgPGRn QGFkYXguY29tPiB3cm90ZToNCj4+Pj4gSW5zdGVhZCBvZiBjaG9vc2luZyB0byB1c2UgZ2V0ZW50 cm9weSgpIG9yIHRoZSByZHNlZWQgaW5zdHJ1Y3Rpb24gZm9yDQo+Pj4+IHRoZSByYW5kb20gbnVt YmVyIGdlbmVyYXRvciBlbnRyb3B5IHNvdXJjZSB1c2luZyBjb21waWxhdGlvbiBmbGFncywNCj4+ Pj4gZGV0ZXJtaW5lIHRoZSBiZXN0IHNvdXJjZSBhdCBydW4gdGltZS4NCj4+Pj4NCj4+Pj4gVGhp cyBpcyBhY2NvbXBsaXNoZWQgYnkgZGVmaW5pbmcgYSB3ZWFrIHN5bWJvbCBmb3IgZ2V0ZW50cm9w eSgpLA0KPj4+PiBjaGVja2luZyB0aGF0IHRoZSBjb21waWxlciBjYW4gZ2VuZXJhdGUgdGhlIHJk c2VlZCBpbnN0cnVjdGlvbiBldmVuIGlmDQo+Pj4+IHRoZSBjb21waWxhdGlvbiBwbGF0Zm9ybSBk b2VzIG5vdCBuYXRpdmVseSBzdXBwb3J0IGl0LCBhbmQgY2hlY2tpbmcgZm9yDQo+P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