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 0DA87A0566; Tue, 10 Mar 2020 14:28:04 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D1E433B5; Tue, 10 Mar 2020 14:28:03 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 73F0523D for ; Tue, 10 Mar 2020 14:28:02 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Mar 2020 06:28:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,537,1574150400"; d="scan'208";a="235936216" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga008.fm.intel.com with ESMTP; 10 Mar 2020 06:28:01 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 10 Mar 2020 06:28:01 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 10 Mar 2020 06:28:01 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.170) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 10 Mar 2020 06:28:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=inzKDeuniwgafPzhDaCR3lAlpkuc9MjIbT8jXt0Azq/TPXsbnx81BuHp0hocd/zEK9YZL/2Dp3/Cklhjtb3A6SK0XBPEn5pNZdiLZaCkzFdOmiftq/BDNXJvxPAS4Xg9WfdpRBgcf52S9hW8pDatGZigBilSXu4lQ5aGEZv+ngx3/JjJ1M0gsQhMIx4BltuUtA/lWR25g08xc0VVBSndE94Q0HoRcmpmkBkpOIbRa7BO9IQriBCH4mhhWVcRHSU8wghAPSuSucpmWE/TtLwod8RPho2XGgCIfsbs9NoK1OvVM7Ub8JyICNdyusbpdkY2HVfwpBvv6cXpW2a+1R6WlA== 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=rlwdWsf1Po+PlfsRU4+d8Sh3qqyunVomoFTlYnnGQIw=; b=XacVRGcWhuwyz93RL9DI18O5OLGFhDbecwNuZPyH7pQVmp5sm422R0SmOo71Og7711z225V6pBDx1E8KlqNbt2Prj7nsrU1OzU1HxJDPmMRgQdbBV/OfNvWPP4N7cf6Ezon/gbdWnfwGynHutw20qcve3FARdIwGhHaQWeJySDIY6w05/aXw8FjGVqk13JtblDuhh+svX8x230wwAJmg6xv3XhmkNy1h3TxEqc0YJzFpCd/NucYthistlMR674ACCNMmFH1Ei7dhN5MPwPoP6BMF0lcc+ZGEv8RFTdzj5ftAMC9p8/4wqjiFdR1Hgo5obuQ64W60D8chLRP/cmLymw== 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=rlwdWsf1Po+PlfsRU4+d8Sh3qqyunVomoFTlYnnGQIw=; b=hg7pfr92PA4t+LNLhdx3UbqP2oAYSXm3SvSaYU4Ox4yDBHI5y9w0i+VpFLeqsK45elsHRMXSVCmBefRWcQwYJ3eQtiIjedmj0MpmFrnLueYmcud6uxGXunVWsni+1dR12J3Iqgg3CyYVcvkxwA6q1LAoaF5g4Bp+xYyP5xuZDFI= Received: from MWHPR1101MB2157.namprd11.prod.outlook.com (2603:10b6:301:51::10) by MWHPR1101MB2238.namprd11.prod.outlook.com (2603:10b6:301:55::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.15; Tue, 10 Mar 2020 13:27:59 +0000 Received: from MWHPR1101MB2157.namprd11.prod.outlook.com ([fe80::7d16:3f1d:52c9:3116]) by MWHPR1101MB2157.namprd11.prod.outlook.com ([fe80::7d16:3f1d:52c9:3116%5]) with mapi id 15.20.2793.013; Tue, 10 Mar 2020 13:27:59 +0000 From: "Van Haaren, Harry" To: David Marchand CC: Aaron Conole , dev Thread-Topic: [RFC] service: stop lcore threads before 'finalize' Thread-Index: AQHVzKZTm2xXY2gopEmIbtUd5PRbX6fug+KAgByiXgCAABcNOIAJYjxggA+pmoCAAX5bIIAcWBgAgAAAohA= Date: Tue, 10 Mar 2020 13:27:59 +0000 Message-ID: References: In-Reply-To: Accept-Language: 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: spf=none (sender IP is ) smtp.mailfrom=harry.van.haaren@intel.com; x-originating-ip: [192.198.151.169] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c5347fa4-5a82-47ed-08d5-08d7c4f6da17 x-ms-traffictypediagnostic: MWHPR1101MB2238: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 033857D0BD x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(396003)(366004)(39860400002)(136003)(346002)(199004)(189003)(86362001)(55016002)(64756008)(316002)(6916009)(76116006)(66556008)(66476007)(66946007)(66446008)(8936002)(33656002)(81166006)(8676002)(52536014)(6506007)(53546011)(7696005)(9686003)(5660300002)(966005)(478600001)(71200400001)(186003)(54906003)(26005)(81156014)(4326008)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR1101MB2238; H:MWHPR1101MB2157.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tGpN4idtTaEG3GjZlUsWyYT0EpfjJMnCJ3EsPc1ZZ8tsEYMmDNm/O2OhxP5vCZn0bPBPhaCPB4cuzQ3TpJ6UzmtSOiariIEM/55BE9YVMcwPRuoxpBzP25JOjk4MUgf1UAY9+Wlq7ddyUAT/5jBnEtgx/WlRcv+wWtI/vtCzAoaElcanirBHn+1vuWEv7fjQeNVosYRMrLOQFoNe7yPLckDdAlCXSBhV+gzokQa/qH/k78GIPMUCgQLiQQIqDPfyUdFMzUTtxmCr7v+avrDaV7j8SVKTgY1pmqKjwX0I5Fxd8eTdRIP2pkABF5BE3yKsoSSFtKM7XFglcNUzM5NV69kex04yVbS/DPm6PgfbmRwJHfC1Aw5VoVlWRV+OwEg9DTvdC4shpI1Vat9bJ88QQJlJVPYLngOM7+U9KBnbpm9+CoCQVEUYFvhkgblxbg6d6jeRfs26ft2/Pmjqht722/Afb+jWlUEFKVVj0AXS1PFTXUwz9Yp/EGDwrscs4l4HOvbRAsP0fhcy0Gs/gR8G7A== x-ms-exchange-antispam-messagedata: B1lrIFRUTBdeCY4zDCKfMmC8mQjj7qWCCqLNlR0m9S0zfbz7wntdCVnKXpJRMqvEl2Sg71QZU/xehyXJZje+oLVU+OGXQZ2JlY2y+ZJ6hz24Moa6ERBJ2XTC4J/7M5uDfp7OkZFenX64nDmdvkl1KQ== 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-Network-Message-Id: c5347fa4-5a82-47ed-08d5-08d7c4f6da17 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2020 13:27:59.4027 (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: KYULM0IhGH21q4rS8muljzNKTm6E1W5Lg56etKC0nJ5M7vY1G3z7dwn4Vc3SgUkpEfVK47sbyFUmmO3sBG6ToNMxOvITNmpFB4dGYS03kfc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2238 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [RFC] service: stop lcore threads before 'finalize' 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEYXZpZCBNYXJjaGFuZCA8ZGF2 aWQubWFyY2hhbmRAcmVkaGF0LmNvbT4NCj4gU2VudDogVHVlc2RheSwgTWFyY2ggMTAsIDIwMjAg MTowNSBQTQ0KPiBUbzogVmFuIEhhYXJlbiwgSGFycnkgPGhhcnJ5LnZhbi5oYWFyZW5AaW50ZWwu Y29tPg0KPiBDYzogQWFyb24gQ29ub2xlIDxhY29ub2xlQHJlZGhhdC5jb20+OyBkZXYgPGRldkBk cGRrLm9yZz4NCj4gU3ViamVjdDogUmU6IFtSRkNdIHNlcnZpY2U6IHN0b3AgbGNvcmUgdGhyZWFk cyBiZWZvcmUgJ2ZpbmFsaXplJw0KPiANCj4gT24gRnJpLCBGZWIgMjEsIDIwMjAgYXQgMToyOCBQ TSBWYW4gSGFhcmVuLCBIYXJyeQ0KPiA8aGFycnkudmFuLmhhYXJlbkBpbnRlbC5jb20+IHdyb3Rl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