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 D8DD5A04DD; Tue, 20 Oct 2020 20:40:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1D925A9E2; Tue, 20 Oct 2020 20:40:18 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60050.outbound.protection.outlook.com [40.107.6.50]) by dpdk.org (Postfix) with ESMTP id D8CF2A9DD for ; Tue, 20 Oct 2020 20:40:14 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PZpLnyrEzidBE8CMiAuGXhyCeWOC75REKTCbBqIg81q56szpQW8COQisLXw5NKarX4iwWrZocTepREiGmPnwAzwK6yLfavo4lqPufZ6zS6DB+RQvpmGdq+tCO0V1hfYwSDIuTG4T71GQzmv9SlKU4g4E5UL+M4JkYfa2uR9v9UEQb48zCwyy2n7A07eM7t+WhCcGJXsiIZmT/NY3A9iKsGg/RMcHVviZy3qCdRBn2jtfqC7KcDFJs9vI4gQpSBMd29FRmK5rKaVflrfVmhIkyqCOgPoIJyCWL4abb3cqCbVPWJBC2CAe33UvMoK6IZFyVmYYjdO1EAnSCTUHwyayoA== 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=j4F4s9YZlDZIt4TWG7bPlgtjmfkussoqUOYTwmueYDM=; b=YqN3Asvc9TWjEsH/VUmlpQSmxMWX3EQ2622woqH6yn5xWT+kKnkb2EDs5xTGaqy0MScQPjXnL+mxvnePNCYQaVc7ZMYUBUQtYeLX+wiTPGziF0ETb91ECBTiJrZ1VEMpn0chucrTTYID0c1rOR79Sku0BVkJb5qyTF/cDbvGILE9UKHnGb3Xbj+iFpqwFmGEPW+vofcwdMu/Ar2YVx+IEVYH+LtTiN9qMiCipjX0b5QoSdQ8edl4ug+GZFpIEcCq1oODnuQgnSuLjEE4N2twOC4Ny/rLuCoZwmy84l7juXZUQJirD3bzL040d54j4ZdU4BB/lieO1D/d28M8vnIJfQ== 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=j4F4s9YZlDZIt4TWG7bPlgtjmfkussoqUOYTwmueYDM=; b=YbayuCNJdFPl8Ky5X3l/ZOA4Ti42HX4w61NLCxWXHMQaHP7Wh06oTFAdvz1WEQA3jOugwo3o+FLd+uuDkKaVoIuoS/2nc3nZrBGqnhGnaQCS9RruHf0SmuRGeaMKoL7erCfn7iFtNYDZqP9glgLRHG+bpjW9u2dNLGpdl97Kbfg= Received: from DB7PR07MB5978.eurprd07.prod.outlook.com (2603:10a6:10:80::15) by DB7PR07MB5706.eurprd07.prod.outlook.com (2603:10a6:10:81::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.6; Tue, 20 Oct 2020 18:40:10 +0000 Received: from DB7PR07MB5978.eurprd07.prod.outlook.com ([fe80::400f:f1d7:b2d6:7095]) by DB7PR07MB5978.eurprd07.prod.outlook.com ([fe80::400f:f1d7:b2d6:7095%7]) with mapi id 15.20.3499.018; Tue, 20 Oct 2020 18:40:10 +0000 From: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= To: David Marchand CC: Ray Kinsella , Neil Horman , dev , Tomasz Piatkowski , nd , Stephen Hemminger , Honnappa Nagarahalli , Van Haaren Harry , Dmitry Kozlyuk Thread-Topic: [dpdk-dev] [RFC] eal: introduce function to get lcore thread id Thread-Index: AQHWpuZonzz6eaE8qUm6x3iWQuiFJ6mg0xKA Date: Tue, 20 Oct 2020 18:40:10 +0000 Message-ID: <9ca00e57-1e21-b7ef-6171-b432c53b1d1f@ericsson.com> References: <8df56fc2-781a-a2dd-c8b8-87696299b921@ericsson.com> <20200810093652.102078-1-mattias.ronnblom@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.12.1 authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=ericsson.com; x-originating-ip: [217.213.99.10] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ff2faf7e-ae34-43e3-eb45-08d87527934e x-ms-traffictypediagnostic: DB7PR07MB5706: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3044; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VguGetuLgbmPhu4hqkSyw5pn8bi7756WND9JWO/dYANp4zx3p+hUrfsFG3YEMyDOrIS9GmRIEr00xAEEJ3by0tu2CqZ65xjT4VDXtBgeIvQJCuIUZSxs0F4KOxXRCOIqoHp4P/fxd45rGDbhtBvcKvf14YpX9GX/6dmt8nh6vgFlf9JS1oPT/U+tndXkFC99l8T6OIYI2gq/oqjSLbt84k1x5lwI+2CdAnd2SWWp0KgH2gP9Gtr49wTs/v0p/t1ZST6+NO0OS3u6gE9w95frYiPu8xAiqzYy5YBfLhotKZXJ82PaZwxl8Ta5RmjuGAu0qscyqIA+B/X39lj24sY+G5lMyeB6uRGkxLT8o20ctkftGR3H3+BZAgBq0OP7YnpH x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR07MB5978.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(396003)(366004)(346002)(136003)(39860400002)(6512007)(36756003)(316002)(6486002)(31696002)(54906003)(66574015)(5660300002)(76116006)(4744005)(2906002)(8936002)(64756008)(66556008)(66476007)(66946007)(66446008)(83380400001)(8676002)(6916009)(4001150100001)(85202003)(31686004)(478600001)(26005)(2616005)(6506007)(71200400001)(53546011)(186003)(4326008)(85182001)(86362001)(43740500002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: v9S8sqkteZObWSuWwuB/9IILTebVFcv5FS0RShYjxI17cuehiReqN+oWP9CQrqo8z9bgfPM82ivoxYHS1BFTFmfsoWtTfGf7zJyvQTgFUiONdrmn1HOhSJxr4HNu8gXXfrJaP/eOdbJaKzezA0weg6bx05vkXmtHw7YICgrSJwlZt4nKOaqllSciHhbZHH0CyiWOmhiuw9OBn/cafH3cm4uSRu5SRfrhDoMqQfqyiMKKb7RiuRzH9Vy2Bl8Ww8FlWi8PeuIn/4VQQ1vBszZuZAB2Q4rHweKqKze2gyhtyECXjHNibck19AIlBGvalCZemcmlDpyihQie+OaV/8TIBdqNj/c67pGVI9rpR3NqEKDX/11n5PBkEdTwp7yQ40Hb0ndP1o1hCyfZsMgXM5dal4Y/gII/05hHopCRb6CfbS5ZtSqvVpwcH4DKlM7W+ORpv1UNA5SUnTWgMX52jyx67IBTKtEAxeep2vFR49Ws3cAnzGXFcvHBn/4bF5c2TNROMPAdgj/18krRUTAa2vhlyI5+LELJEn/MDalL1P2CJkHB4dfy6+R5y2MOKzA+KHHJIazIYFTaLzhv/V/XulNLqzVLhhe9Vv3Al2kl607f8a6RCLOZaBe2SJjK3fd1s7AjiSpCh5QclJJfwpMBM+GdTQ== Content-Type: text/plain; charset="utf-8" Content-ID: <0E82038F5D6A2549AFA03BE9CF883495@eurprd07.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5978.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ff2faf7e-ae34-43e3-eb45-08d87527934e X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2020 18:40:10.7233 (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: Jfdcj3Ep+Ty5icI67azM7geYqA/UeFMPpIyo1na079/uXOQq6jK7jIOO5V6FBIpk6CjhRiYoootICynlZYjiLatsMSDMThYD+Tb9pJTgh+M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB5706 Subject: Re: [dpdk-dev] [RFC] eal: introduce function to get lcore thread id 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" T24gMjAyMC0xMC0yMCAxNTozOCwgRGF2aWQgTWFyY2hhbmQgd3JvdGU6DQo+IE9uIE1vbiwgQXVn IDEwLCAyMDIwIGF0IDExOjM3IEFNIE1hdHRpYXMgUsO2bm5ibG9tDQo+IDxtYXR0aWFzLnJvbm5i bG9tQGVyaWNzc29uLmNvbT4gd3JvdGU6DQo+PiBJbnRyb2R1Y2UgZnVuY3Rpb24gaW4gPHJ0ZV9s Y29yZS5oPiB0byByZXRyaWV2ZSBhIGxjb3JlIHdvcmtlcg0KPj4gdGhyZWFkJ3MgcHRocmVhZCBp ZC4NCj4+DQo+PiBUaGlzIGNoYW5nZSBhbGxvd3MgYXBwbGljYXRpb25zIHRvIGRvIHRoaW5ncyBs aWtlIGNoYW5naW5nIHRoZSBuYW1lIG9mDQo+PiBhIGxjb3JlIHRocmVhZCwgb3IgZGV0ZWN0IGlm IG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