From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DF6D4A054A; Thu, 11 Feb 2021 08:26:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95E701CC38A; Thu, 11 Feb 2021 08:26:34 +0100 (CET) Received: from hqnvemgate25.nvidia.com (hqnvemgate25.nvidia.com [216.228.121.64]) by mails.dpdk.org (Postfix) with ESMTP id C80B11CC344 for ; Thu, 11 Feb 2021 08:26:33 +0100 (CET) Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 10 Feb 2021 23:26:32 -0800 Received: from HQMAIL105.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Wed, 10 Feb 2021 23:26:32 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Wed, 10 Feb 2021 23:26:32 -0800 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 11 Feb 2021 07:26:25 +0000 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.176) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 11 Feb 2021 07:26:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aLOyY0WwLlAOHNB/34SQWReAJQzj6c1eWViSqNNIg7+TAfemYVJUI+2oeh0K4q8JRQLxtoWFTy/8mefPXBshCrMPpDbNsZTJULjLV7PuDixjFVSk9S1Db/o3IkdeuEX4yWkaR0969XFzT0Ylb5NQ9+IDxU1NQ8047UUvHidC3MV4qnjZNfcTZ66V8/i6eO7G23nke+s98vSx5/DXZmUTh5aFEel8V6+9uNpN6BXRA5Q2E8zNCU+n+Dxkn7aYfnYySOsvBudAxRbiOGV2fN19jfxmGVWRK9sDIcJHHFdwqCuRVbmcqHOESubRYmnB1SHrlBWndaJaLoDFVmO3xDVUyA== 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=+bm6MGdGMkkS4re9M/XlNjFH2tsNlPAsGFpyvPcYySw=; b=DmD9vKCeq3+KlCbD4NpCeRSNwR0H9lsCizjNRSTODJ5AVH/nig7tl7yR9fpcwdu9hLRDo3g7Up2bwUrF1/iht1NFM7BsledaDmfcfbgDV7F4327Eu/IQB63RjzcF9Itrd6LDCvzFMtMuO4xKer6poZbJ1253poiaGSjKDq7t4BA5WeZg+aEbQpq6Rqi+v2lf4gZ6Y3iTpmmdcdpEXterMEC0kYrun2B9VQSB4AR2J5CZfk9FDW5KsOozYCq4VKH67jruWvCvE6+ea6xFRIzRgK0BAzXYVlmIwagW1Ch+jo9pbW402M3maClh/M8mhAjz4WtMLmfJzJB/PGOzdmoF5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from DM6PR12MB3945.namprd12.prod.outlook.com (2603:10b6:5:1c2::27) by DM6PR12MB4927.namprd12.prod.outlook.com (2603:10b6:5:20a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.26; Thu, 11 Feb 2021 07:26:24 +0000 Received: from DM6PR12MB3945.namprd12.prod.outlook.com ([fe80::d1dc:9fb2:4724:53df]) by DM6PR12MB3945.namprd12.prod.outlook.com ([fe80::d1dc:9fb2:4724:53df%7]) with mapi id 15.20.3846.027; Thu, 11 Feb 2021 07:26:24 +0000 From: Tal Shnaiderman To: "Burakov, Anatoly" , "dev@dpdk.org" CC: NBU-Contact-Thomas Monjalon , "pallavi.kadam@intel.com" , "dmitry.kozliuk@gmail.com" , "navasile@linux.microsoft.com" , "dmitrym@microsoft.com" , "david.marchand@redhat.com" Thread-Topic: [dpdk-dev] [PATCH v9 2/2] eal: add generic thread-local-storage functions Thread-Index: AQHW5GvNzQE0PLkvyUOYYhhiJNcrNqpRmawAgAErNEA= Date: Thu, 11 Feb 2021 07:26:24 +0000 Message-ID: References: <20210106194543.14024-1-talshn@nvidia.com> <20210106203553.9876-1-talshn@nvidia.com> <20210106203553.9876-3-talshn@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [77.137.141.17] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5cb7a5b8-16be-4838-925d-08d8ce5e565d x-ms-traffictypediagnostic: DM6PR12MB4927: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-header: ProcessedBy-CMR-outbound x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9Ood+b0IbAJtPc+nyABJyFOpdKuehmEj4NE0r3BHPajMqgr/o2JO5r/+SrbqfrKKbObgnfKF+OqNqgD4JQOa6jJRRLj+coP1oMaOr33QXBac7pm+6qZYTISgbVDRN2DL14TsguAPIRWu43aJGQmY98qsgdGVRNFVEzSHA84t47HbBCV9ZawXFl1N9wiTzdfE8mV6+WoKFcpQ3eTwF0zLz3Vh+DDRcRZ/bnyqZQLzZhVmHa94mlLcIA8HQnl8lYxorKHhCdxY3ZeTXYDu6uFByiy5Un63wmOKPMknZVbpvk+NtbHxq/Ck0qdSi2o9Ym7tFV9w0sTHxLO3XKp0Dy2HF9yHe/ewuO/kQlJKW6rbK7f7fWxfeP0UgK7Cp0zv6YAmZqZmKw5JVtiSCDogzB5SXEMQOjD8TsNmtxTCwTxjZtOh8n13uoFwydznl8YT/SAtB8RmbRNrFYXtkbfpKgNktrc/UuTzDJeIv8pONBmUHHrPqgBZhxVmKjhZANkRyZCZ920NovtxvdUkwjkQmiwm4muYs1xDNDt9jKQozdV8IMebWZ18U84cMa2LV+tQWypT x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3945.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(376002)(136003)(396003)(39860400002)(346002)(8936002)(26005)(9686003)(52536014)(66556008)(4326008)(76116006)(53546011)(66476007)(33656002)(478600001)(8676002)(66446008)(66946007)(5660300002)(71200400001)(55016002)(7696005)(316002)(186003)(2906002)(54906003)(110136005)(83380400001)(86362001)(6506007)(64756008)(41533002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?cGNJVzZQTHQ3Y0ZINEx4Mjl5eGRmdEVYYjBEN0RhdTZIV1g4ZTJoK1VrdEl6?= =?utf-8?B?YzlGU0pCaTNPdHhOQnVQbDNaOU5hMVB0MDlNd0tQUDVxdmNXQmFreVhFUjhm?= =?utf-8?B?bFRwVWVLS3Q2Z0xpNXNJRXkwWGZGUkZvZXUzakd2S1VRbG12SHYyKy81QmpF?= =?utf-8?B?Nno0T0xaNlRKOXIrWjJucjAvVk9kUnBTUTZUM00xVmw1eTV5YXFiR1FFYitC?= =?utf-8?B?WTZRSm5EVEZkblo5RHkzK014NVlFY0d5V096WTMyUlpGbkNpZHorM0dWYzkw?= =?utf-8?B?Tjk2QjF1Z3FacUFqRDF4cmdmcStkb1kzYmtETHRXN1JrcGduMXJxWVBpY2VF?= =?utf-8?B?TTJOTFp4Z1NPSC81YVBTa3BqeFRFb3o5eUdwUEdZbDVmL3l6V005aCs2TmNB?= =?utf-8?B?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Fc4dE1YTEx5?= =?utf-8?B?Sk1tSGVueVJOQksrSzRUdjFrTTBVN1ZQbVJlNzdZc3AxamNmaFA1NXZ4WXFm?= =?utf-8?B?MnlGaEkwRDFIbEprQTdDcktScDRSTDgxTWFMRzVCWlR6NU42Nk1KUHNqSDBC?= =?utf-8?B?QmhybjMwSStvVHF0OGJyaGR3MjdJUzBuT0pBaDd5WUxtNWRSeUFZc3B4R0E2?= =?utf-8?B?cGZzaFREWUpkMDJablZYZDd4V3NxdHhWdEhGcjMvNlhuYW1EMzgrc1lOSFkz?= =?utf-8?B?aGVheTlEaEFkZm4zTGhNTGl1Uk1OdlZQdVZRN1dOSERlRDJiTUVBQUh4SGg3?= =?utf-8?B?dERQT0FFTlBwblB4dyt1Yytzei9YamF1N01qUCtveHFSK2tMMW5ON0pyUGJN?= =?utf-8?B?L2VYYmJiMmdqTEdMQXpLdFVDQmowY28rME1acUVKL3Jrby9aYlI1RjF6Qldr?= =?utf-8?Q?7PFi2YQcENPCGaJl1+/Dw1v7aIYbnZ9BRkCwKIK?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3945.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5cb7a5b8-16be-4838-925d-08d8ce5e565d X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2021 07:26:24.3246 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 86AuGmSc2LQj+b7wQxboOmGdE5/ILJZuSAO4vGHgflBPCljwzAEQb0hN/V10K/8oGiaBh9ldOtqctW4FMuOTtg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4927 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1613028392; bh=+bm6MGdGMkkS4re9M/XlNjFH2tsNlPAsGFpyvPcYySw=; h=X-PGP-Universal:ARC-Seal:ARC-Message-Signature: ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic: Thread-Index:Date:Message-ID:References:In-Reply-To: Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-microsoft-antispam-prvs:x-header:x-ms-oob-tlc-oobclassifiers: x-ms-exchange-senderadcheck:x-microsoft-antispam: x-microsoft-antispam-message-info:x-forefront-antispam-report: x-ms-exchange-antispam-messagedata:x-ms-exchange-transport-forked: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=IYI7jSJjJvyq51YpRkfXf//DOQgvtEWmWG/jb++I12gSgLbfa3DyRHom6hrmWL0m0 eIxbwEUJTld96YF6DG4tvK5NDOndlzoLdBFupNZI1pYyXsmBkAdUJ5Z8bp9btWWFEu N+I/USvIppJrspwWXBRfrK68j6D9DWuIq7eGpoeZApTIig+9Hz/LOX+bSfT6Xl52qv X8sEIjyICVKQpiOvZywdb9KLPcu0bVH8rb6b4K2ha9I1IKU50hfzlRtOKw7zaQnLmu C4Q1nTTYNCV1tEFUUT0lXWqJYGfH1rLclHAQ/4giL6wikDMmXAciT7WGm3kCNmckW4 Qz7P9uacX2geQ== Subject: Re: [dpdk-dev] [PATCH v9 2/2] eal: add generic thread-local-storage functions 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 Sender: "dev" PiBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFUQ0ggdjkgMi8yXSBlYWw6IGFkZCBnZW5lcmlj IHRocmVhZC1sb2NhbC1zdG9yYWdlDQo+IGZ1bmN0aW9ucw0KPiANCj4gRXh0ZXJuYWwgZW1haWw6 IFVzZSBjYXV0aW9uIG9wZW5pbmcgbGlua3Mgb3IgYXR0YWNobWVudHMNCj4gDQo+IA0KPiBPbiAw Ni1KYW4tMjEgODozNSBQTSwgVGFsIFNobmFpZGVybWFuIHdyb3RlOg0KPiA+IEFkZCBzdXBwb3J0 IGZvciBUTFMgZnVuY3Rpb25hbGl0eSBpbiBFQUwuDQo+ID4NCj4gPiBUaGUgZm9sbG93aW5nIGZ1 bmN0aW9ucyBhcmUgYWRkZWQ6DQo+ID4gcnRlX3RocmVhZF90bHNfa2V5X2NyZWF0ZSAtIGNyZWF0 ZSBhIFRMUyBkYXRhIGtleS4NCj4gPiBydGVfdGhyZWFkX3Rsc19rZXlfZGVsZXRlIC0gZGVsZXRl IGEgVExTIGRhdGEga2V5Lg0KPiA+IHJ0ZV90aHJlYWRfdGxzX3ZhbHVlX3NldCAtIHNldCB2YWx1 ZSBib3VuZCB0byB0aGUgVExTIGtleQ0KPiA+IHJ0ZV90aHJlYWRfdGxzX3ZhbHVlX2dldCAtIGdl dCB2YWx1ZSBib3VuZCB0byB0aGUgVExTIGtleQ0KPiA+DQo+ID4gVExTIGtleSBpcyBkZWZpbmVk IGJ5IHRoZSBuZXcgdHlwZSBydGVfdGxzX2tleS4NCj4gPg0KPiA+IFRoZSBBUEkgYWxsb2NhdGVz IHRoZSB0aHJlYWQgbG9jYWwgc3RvcmFnZ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