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 57D0AA0350; Tue, 23 Jun 2020 15:16:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B3D151D649; Tue, 23 Jun 2020 15:16:14 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 8FEE41D63E for ; Tue, 23 Jun 2020 15:16:12 +0200 (CEST) IronPort-SDR: 1hXmElwbhgmCFyVFtk7GUoIIHUzEOjFsQCD2nb+kn9ftc4sVeeMuiojaGk173X2CxFSxCj9Xfc 6Ryz2jcs5Drg== X-IronPort-AV: E=McAfee;i="6000,8403,9660"; a="209263665" X-IronPort-AV: E=Sophos;i="5.75,271,1589266800"; d="scan'208";a="209263665" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2020 06:16:11 -0700 IronPort-SDR: WfXTCvx7SJORwLBJI4bEAROlgNUSRN6cSO9KbboSTFkfQBW7nnJ+6XbY/NHyaOw3PXQqMbOZtX 3vvgvAAprdwQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,271,1589266800"; d="scan'208";a="384845005" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga001.fm.intel.com with ESMTP; 23 Jun 2020 06:16:10 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 23 Jun 2020 06:16:10 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 23 Jun 2020 06:16:09 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 23 Jun 2020 06:16:09 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.168) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 23 Jun 2020 06:16:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZcXg8EXBwsuQpRYxf+jLVgcRUUny/JTfPnDhzNZVJq2cOOzq+rUkiVHyiQqBR1QHfLMqfvoDOtzkFzO1yXnMypHlVnmFGjm+WZR3Ul9D2ZKV49pMJp5kPrV4w+GEhwN04Yaz977LdEnxF/qcEZS3aFnRwg0NnRvCg+1eQWUVEXW5E9K+vdG3PDdyORcA9NAw/pQmevCro75xk21YPzNOiCAs3ofVizQLH3NwniWUHUrWm60DWl7xmNqZE1ODVfBWR5QSFW3nwCSbfzaCn9k4RvztpMJZwAQC3G4mUsUxGMikIkFCi51uotR/GhhszZzT9MBhI+NkDqrVJ3romshQ+Q== 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=+Z4j48AIIOVFtbsippMb1IhcFrY1O1Chsr8Z+PrUFFM=; b=Dgno1u1y4/rqgDCmlMok3RM9vzCvs41UuD4Fxx67ARA6ZTVO/H9eByHPyG4NtdJdSumz0nXXIdL+gQs4LjQYc2MyQ5Bfn+Si1fsBGOPfDggz5+fYWr/PXhY99VWyN0NbX9I4JKmosiXQ9aXBpWSEgXsYJ4WTIKsder5zQvyuJ2eYM4jlfPCJ72fNqZIH/SMDKpudHfJxlCwjM1gQ7So6o7jUclqfNon8lXBcF7stHWzlClvzLHUIUXiAJ3IR52TFKydVCvNt3BzymMXJXGYECDLNNpFEP2G3bHA1wL4fLnCGE/TvFLPWhLWgbKnK3vw5o+Hs8yUy2eArFWGuh9D/eQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+Z4j48AIIOVFtbsippMb1IhcFrY1O1Chsr8Z+PrUFFM=; b=d3Q08S2J/Fdkaci8wfgcNwyncyhi0FcNzsN5aoYcdDLXIYfyEvDJQyP4jqGwy0uFp+8QW8jHt9ibcUcLwPEujL8wEY4Riud0hLviLlyqYXat7k+tQAtnGcOXBL2ysFXewkIfZYRs2f/ghSrC+gXrUF38sAgsDGcqgeG9nSwIvNM= Received: from BYAPR11MB3301.namprd11.prod.outlook.com (2603:10b6:a03:7f::26) by BY5PR11MB4258.namprd11.prod.outlook.com (2603:10b6:a03:1c2::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Tue, 23 Jun 2020 13:15:55 +0000 Received: from BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f160:29ab:b8f9:4189]) by BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f160:29ab:b8f9:4189%6]) with mapi id 15.20.3109.027; Tue, 23 Jun 2020 13:15:55 +0000 From: "Ananyev, Konstantin" To: David Marchand CC: "dev@dpdk.org" , "jerinjacobk@gmail.com" , "Richardson, Bruce" , "mdr@ashroe.eu" , "ktraynor@redhat.com" , "Stokes, Ian" , "i.maximets@ovn.org" , Thomas Monjalon , "Mcnamara, John" , "Kovacevic, Marko" , "Burakov, Anatoly" , Olivier Matz , Andrew Rybchenko , "Neil Horman" Thread-Topic: [dpdk-dev] [PATCH v3 6/9] eal: register non-EAL threads as lcores Thread-Index: AQHWSJjc02miHDhvs0aJZlTx+B7uGKjkxSPggAEPRACAAFFvIA== Date: Tue, 23 Jun 2020 13:15:55 +0000 Message-ID: References: <20200610144506.30505-1-david.marchand@redhat.com> <20200622132531.21857-1-david.marchand@redhat.com> <20200622132531.21857-7-david.marchand@redhat.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.151.168] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 40042976-79da-46a9-4ea9-08d817778fd2 x-ms-traffictypediagnostic: BY5PR11MB4258: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 04433051BF x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ByxyElWzIkmHtMYi8olgx6uApw/dMYcc0b+Ju7RiV/OMxHM2doWKUHuR/JKnQ1HyaglmIfjnsNiwVj0yzkH4B7QTQM+km73r2TASW6GQ6BZZfwrv7WrGpdLhye9DMUQzRZpHkohapzTk2FNRj8gedhJ253yfxwRt9rtLrBL/2InhLL7XFYVFq2ZyCwJ3uJl7E+fo7Nl7e3dj+nMxGGSOqhCbf0dcyHDVr5+1etQAaMq+0ST8bSj0u2H//SZyse0IKn62yPClAm3pdxDqrojyttjAWBgpfFD/KoW7kwHH3lwgNUQ7Zya1eYbhUSHev/XnpJyIlXAuc/Zhw+fzn16hTw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3301.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(39860400002)(396003)(376002)(346002)(366004)(76116006)(9686003)(26005)(8936002)(4326008)(478600001)(8676002)(55016002)(6506007)(2906002)(186003)(6916009)(7416002)(52536014)(33656002)(54906003)(316002)(7696005)(5660300002)(66946007)(66446008)(64756008)(66556008)(66476007)(83380400001)(71200400001)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: ea4mkmOZb20w9R7wSHh22PCyWpRXIHhfo1yEUGcnmkxCtwpFTpjw2zHDcmk47yVEw0FYKe2p8a2dTXKpYO/xE7LvX1wmldqxZIoQDXr/jx655onXNSN6gIqgQjV6zx+YMjHnNMXNpGz0qjiYbQ9L6qupqMq3naH9MKV+joNWZPrgiBAgjlF4KGw8d/gphCHJSMTY3QTPs8g8LRhSH9JaPCFg/5yU88ChPYXClXOOOabs1kHN1CteiQBQA91ouTNz8R2FSbjobMzTbB5nfn2JXD0PTk0cE57ZlzkGBRMP65y+/XYT8ou0yX1d/W/YrAMXTsMRgcA4U8HKVLb25AxKhqg1WamytM7YNS+Umg29A2OxRv2GQIUXDGlghgl72Ee8iscYCSMxCm5W+YGLpSEu7JJY+LxpJk0TkspRcAOPEKPVL4WQH0iwLGefQcSjfIcr8L9xdcdXEvlKLS+pabokUGYATtGYa9fwngTXxKzikOdtBSVgBVoXYbhcApN9iGke Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 40042976-79da-46a9-4ea9-08d817778fd2 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jun 2020 13:15:55.1818 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FCJD54h5lP/DQ6fdI7MjYcSbQgGpF5wWH8ShtnaG3xLbPhGubbpBHdKA4OCxFQ8kkgO1/1fMIftr4yZeDLBLcrm941VOcuGKoYXonw7fB9g= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4258 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 6/9] eal: register non-EAL threads as lcores 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" SGkgRGF2aWQsDQoNCj4gPiA+IGRpZmYgLS1naXQgYS9saWIvbGlicnRlX2VhbC9jb21tb24vZWFs X2NvbW1vbl9sY29yZS5jIGIvbGliL2xpYnJ0ZV9lYWwvY29tbW9uL2VhbF9jb21tb25fbGNvcmUu Yw0KPiA+ID4gaW5kZXggODZkMzJhM2RkNy4uN2RiMDU0MjhlNyAxMDA2NDQNCj4gPiA+IC0tLSBh L2xpYi9saWJydGVfZWFsL2NvbW1vbi9lYWxfY29tbW9uX2xjb3JlLmMNCj4gPiA+ICsrKyBiL2xp Yi9saWJydGVfZWFsL2NvbW1vbi9lYWxfY29tbW9uX2xjb3JlLmMNCj4gPiA+IEBAIC0yMjAsMyAr MjIxLDM4IEBAIHJ0ZV9zb2NrZXRfaWRfYnlfaWR4KHVuc2lnbmVkIGludCBpZHgpDQo+ID4gPiAg ICAgICB9DQo+ID4gPiAgICAgICByZXR1cm4gY29uZmlnLT5udW1hX25vZGVzW2lkeF07DQo+ID4g PiAgfQ0KPiA+ID4gKw0KPiA+ID4gK3N0YXRpYyBydGVfc3BpbmxvY2tfdCBsY29yZV9sb2NrID0g UlRFX1NQSU5MT0NLX0lOSVRJQUxJWkVSOw0KPiA+ID4gKw0KPiA+ID4gK3Vuc2lnbmVkIGludA0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