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 8EAB1A0588; Thu, 16 Apr 2020 13:36:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 58CBC1DB7E; Thu, 16 Apr 2020 13:36:14 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70079.outbound.protection.outlook.com [40.107.7.79]) by dpdk.org (Postfix) with ESMTP id A9E731D65E for ; Thu, 16 Apr 2020 13:36:12 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z2NQZIMrxT4V1AKPIXgBGIgYRm3KoH9TL+be4Om5va+feh7w/8z+G4RVH43KqMty59BAzqGmydTWFpgM1yz8bDuhyoGMSszrXvfN+wPJWBn8E8X0aDXHrN8wJPnx2hOIz7gDZt4HAIcy3GQeUCd9NbWGIxVkqnuaX988zWl3rCJ99tCfln6ZJ2mQFPgWGHVNsmn/bDCFTQuNBUOKKgDlq3imxxJToVRzHBXbgCOVF5jSvmBpQm9wyAK59gx/3ijSn2WDSJqMSETA7VtYRRutgOA2r25XGFu38vAn7eZvwP0c2CMsPW1ADVw/Cxlto8TN6a3wxtnN6HOBn+YrvklbYQ== 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=GWMTnH4KO8dWcWFXVIHbo6ntWZHHEbYomD8KuG+DV0I=; b=M/W7Y4uuNjcsZG8xNlae/V3eIaH+4JQX8osWLze9QHov8vwWWHh8sMQXWbYSjI37gkf6dUpOvscteKcM0GFNe6vr5BziAEJSqY1N+jlh0zNuz+a1knp9jQFiyCy+bRBYtAjnkeD0VDeyh77HjZG62MCgWTaOeBBjTfrnC8PI+YfNHjRPLwHphP2jF7eW4oN/g0NLjmylXqJ/pKG/pCNrSZdb/z0d42F6fhURybQtFD10aTodndGsiB9dC1SGhePYLp96plgBXMOjinXET+FfO+1RFZNUqef5LfnuS8cU0fw0u9ha881XO2f55Z6lBoOae7CZJccRnF1Pdq/PghSBBQ== 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=GWMTnH4KO8dWcWFXVIHbo6ntWZHHEbYomD8KuG+DV0I=; b=i1xWQ/IC2zIobF7tmF4WcQ+vaCjSrwZ0HBXhvN12EzFroeXEKI8ea4FrrDzxT2NqmhT2EG6i+lEeD306dobS31Se+3lKhJHtJDLKvKFG52olC3As/xYjfr7VBsn0D8RVHenXhnQh+Q8tmiHx06zMbIRya064fcb/kcD6hX3bePc= Received: from HE1PR07MB4284.eurprd07.prod.outlook.com (2603:10a6:7:9f::29) by HE1PR07MB4393.eurprd07.prod.outlook.com (2603:10a6:7:a2::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.21; Thu, 16 Apr 2020 11:36:11 +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 11:36:11 +0000 From: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= To: Jerin Jacob , Dan Gora CC: 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: AQHWE3tyGZrUY9iFM0qlupRqTIy7x6h7Q8iAgABbtAA= Date: Thu, 16 Apr 2020 11:36:11 +0000 Message-ID: <2114f9a2-bda4-4796-7872-bf21f7e9f327@ericsson.com> References: <20200415231119.27845-1-dg@adax.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: 40f1d275-2099-48c5-32f0-08d7e1fa5ceb x-ms-traffictypediagnostic: HE1PR07MB4393: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; 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)(396003)(136003)(366004)(39860400002)(346002)(376002)(66556008)(64756008)(66946007)(26005)(54906003)(85182001)(6506007)(36756003)(186003)(316002)(110136005)(85202003)(2616005)(31686004)(53546011)(76116006)(478600001)(2906002)(8936002)(66446008)(8676002)(81156014)(966005)(6486002)(5660300002)(31696002)(6512007)(71200400001)(86362001)(66476007)(4326008); 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: 62wkH/BhhWlf8WhqMDQoqYKnMEaySSoWhESvqjR1/Ie33vtG+3N1jdjHsSZhey1MAnD9qldpQ8KCVvmTnG6ewBJ8Lk2I9ZwJSGsDeQiR57nmsqaD/0NZ5Pt57849wTmPpR98MNZAT7WO54qIXzDOS5XXQPzCp1/CokfKCf/yaXx9gZLElxpXn+Cf71uZNJclVf/l39HtsH1/79Jk3MyEThGnQAz5fTLoO4PsKykw539yWG49+bEJyeN/FxUiExL0yaFCFQ9wEr+vo4005sFN87Oh5aHEg2dt0TmShxJOAhzkm74YLpV3KSf3lqw0yAV6CLdBjCKEa/8XZ/C1864lwkns5GqZabl765IZDLuSXc5oMgz6QtpW+SSxMIwVvUl0UW7m0AkiJkCSnURBDLyR64jEDZ5BpPEjWqhh7eGgY83aSxaSvDWrj4cjpIU36Qvvp0bteIwE3W8OSky01L83rhGmRNit0ilk3s5jm5bA6hWhQXFiPtKLsAWNDFT7y+gVIdMygHwH2HpgNLEH/qFOYg== x-ms-exchange-antispam-messagedata: 4dPYsmGFygtjcqz+AzHSzpVcEDfYblW6cXzXc23wgtg+fBpIBemm+b6D5gpqpvWNxA8w+vryLQf5NLxpOYBVbaR4HTe9sDD4IKQSYoHhPG2NwN+U37oQNY4TlZi3+xUoDQdGSbPnErwlnAgW3bdUzg== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <4D4BF788050AC94AB43364111B33CA8E@eurprd07.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-Network-Message-Id: 40f1d275-2099-48c5-32f0-08d7e1fa5ceb X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2020 11:36:11.1426 (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: stsy1I7vQaMzpg3T0nJ0sYDstba0N1Su/bl658AEns5gs1iYEGVcI+BDDccRwphkg1b5uVGg6iDB7WEHZ/Quur+SjB4XQQnKZiTC3E/LOzA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4393 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" T24gMjAyMC0wNC0xNiAwODowNywgSmVyaW4gSmFjb2Igd3JvdGU6DQo+IE9uIFRodSwgQXByIDE2 LCAyMDIwIGF0IDQ6NDIgQU0gRGFuIEdvcmEgPGRnQGFkYXguY29tPiB3cm90ZToNCj4+IEluc3Rl YWQgb2YgY2hvb3NpbmcgdG8gdXNlIGdldGVudHJvcHkoKSBvciB0aGUgcmRzZWVkIGluc3RydWN0 aW9uIGZvcg0KPj4gdGhlIHJhbmRvbSBudW1iZXIgZ2VuZXJhdG9yIGVudHJvcHkgc291cmNlIHVz aW5nIGNvbXBpbGF0aW9uIGZsYWdzLA0KPj4gZGV0ZXJtaW5lIHRoZSBiZXN0IHNvdXJjZSBhdCBy dW4gdGltZS4NCj4+DQo+PiBUaGlzIGlzIGFjY29tcGxpc2hlZCBieSBkZWZpbmluZyBhIHdlYWsg c3ltYm9sIGZvciBnZXRlbnRyb3B5KCksDQo+PiBjaGVja2luZyB0aGF0IHRoZSBjb21waWxlciBj YW4gZ2VuZXJhdGUgdGhlIHJkc2VlZCBpbnN0cnVjdGlvbiBldmVuIGlmDQo+PiB0aGUgY29tcGls YXRpb24gcGxhdGZvcm0gZG9lcyBub3QgbmF0aXZlbHkgc3VwcG9ydCBpdCwgYW5kIGNoZWNraW5n IGZvcg0KPj4gdGhlIGF2YWlsYWJpbGl0eSBvZiB0aGUgcmRzZWVkIGluc3RydWN0aW9uIG9uIHRo ZSBleGVjdXRpb24gcGxhdGZvcm0NCj4+IHVzaW5nIHJ0ZV9jcHVfZ2V0X2ZsYWdfZW5hYmxlZCgp Lg0KPj4NCj4+IElmIG5laXRoZXIgZ2V0ZW50cm9weSgpIG9yIHJkc2VlZCBpcyBhdmFpbGFibGUs IHJ0ZV9nZX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