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 5D1D1A04F1; Mon, 6 Jan 2020 13:12:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A71F21D636; Mon, 6 Jan 2020 13:12:57 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 67FFA1D633 for ; Mon, 6 Jan 2020 13:12:56 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jan 2020 04:12:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,402,1571727600"; d="scan'208";a="370241690" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga004.jf.intel.com with ESMTP; 06 Jan 2020 04:12:54 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Jan 2020 04:12:55 -0800 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) 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; Mon, 6 Jan 2020 04:12:54 -0800 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 6 Jan 2020 04:12:54 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.105) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Jan 2020 04:12:53 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OjURaHeSNvV9SbyhG7fk5Y4Y9UFq6XlBys//VqaTI+Eud0IenmgtEewfKRcBYTe690cP5+8LZevVLFoMtKnJcuIBHoJfnyUJpcoGjmRjfyKZ08mv/PvYUDVqyjcVVPzxrgJk9eEwaPfim8OzUQwriHQ18xIbtixAHU+0QdWj9ftKuvfPeoEfnADWrGFeNEoLn5ov81sHJokvk85ZEi6TJ2Yn5aDMbXCgylX0tvkb7lVDZVamJbALk2EtuS4MBdveduSfSdT7VGcIhmOPMDpES/CNCigA2loqoPEq5Vziy5xY715itJ8zvgtmn8XC7KnCDReSOo31GPoWlmD2Hpbsww== 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=MzKiUIOINWxlizt6mAtxaV3m/B6DyLuy1L7jx+S7oGQ=; b=Z4GadvFebSGxlTDIK5qW4+3YVX64Q4PLyXKLzY5s+5tade56C8QcQzVHfp3jRLIao30P6eTH7upMW4EvTBRe5ftYldR7kmL+0hCHu5Dm3Yu2UXABo4gtiUWVE8Ba08bnR+lpoR4JC0hIt76Gwd6r2bi1kBP2FUV1+JIN6eDQ0a/F976cTASBznj4eDpo5TRxJ8FeysPhKUUy45XwrtTnlo4yYE/YRUZGZyrilwjuXPj4cT7xnkAQU4e4sBYV5WpGr8/ARkWbpIH3Zo88CdkzMKswdK1pKeCDhpvBeD+AAiaEYC69Lg9LVLZ5crbwXS1nUDThjD3LWAmY4so3etSvdQ== 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=MzKiUIOINWxlizt6mAtxaV3m/B6DyLuy1L7jx+S7oGQ=; b=l/z4jSFCJu9OcfMcdc4YGqhDd57B5XkCbYkt8sRa+8TpdCCVMeJcWhZwCwpHLrjVNE4mS/T8Wgp5DddFBoy9uWaAb65C///yUU7YsQ0TF9BLugyVJoEwOWCokC29wVCdvnUc3uopDFl54Kma5E3i9x/OHYmycxBSVBhfokXU9WE= Received: from SN6PR11MB2558.namprd11.prod.outlook.com (52.135.94.19) by SN6PR11MB2974.namprd11.prod.outlook.com (52.135.126.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.15; Mon, 6 Jan 2020 12:12:50 +0000 Received: from SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::4d86:362a:13c3:8386]) by SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::4d86:362a:13c3:8386%7]) with mapi id 15.20.2602.015; Mon, 6 Jan 2020 12:12:50 +0000 From: "Ananyev, Konstantin" To: Pavan Nikhilesh Bhagavatula , "Jerin Jacob Kollanukkaran" , "Kovacevic, Marko" , Ori Kam , "Richardson, Bruce" , "Nicolau, Radu" , Akhil Goyal , "Kantecki, Tomasz" , Sunil Kumar Kori CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 10/11] examples/l3fwd: add graceful teardown for eventdevice Thread-Index: AQHVqrGefZ9Gifd9VUeR+8DHIvNnTqfZI/rAgAQgNgCAAHomgA== Date: Mon, 6 Jan 2020 12:12:50 +0000 Message-ID: References: <20191204144345.5736-1-pbhagavatula@marvell.com> <20191204144345.5736-11-pbhagavatula@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDAyNDAyNWYtMzYzZC00NGZlLTg5YjMtMmQ1ZmNlMWUxODBiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRFBsT3JFblBMaWNpUFwvXC9YYzNQcTlna2MxbzRqUXBXQTJUMzc5VkJndjVrSjB2S1ZcL2NuUXZBS2tuYmI2dmNXXC8ifQ== dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-ctpclassification: CTP_NT authentication-results: spf=none (sender IP is ) smtp.mailfrom=konstantin.ananyev@intel.com; x-originating-ip: [192.198.151.163] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: af3ce659-3457-478d-56b5-08d792a1c00a x-ms-traffictypediagnostic: SN6PR11MB2974: 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:257; x-forefront-prvs: 0274272F87 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(366004)(136003)(346002)(39860400002)(376002)(199004)(189003)(186003)(26005)(86362001)(66446008)(66556008)(64756008)(66476007)(55016002)(7696005)(66946007)(76116006)(6506007)(5660300002)(2906002)(478600001)(33656002)(8936002)(9686003)(71200400001)(52536014)(81156014)(110136005)(81166006)(4326008)(316002)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:SN6PR11MB2974; H:SN6PR11MB2558.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: EQIP8c1Y3JvvPiVZ3QT12j6sqPWN2uYjrDydFSIIb7CCG9iMIWh44KdC+lcHxxeDvUIu4Yhw7U3nZZkWuX/hZZHHmnH4WNXZv2O3lCyQMQU7LOpB9vcrfcsUGqT4gYN+o7V7xKEq6F6ndHCOcVFTP6wvAPqWKb3JHk814uVTTs2MHGQrO0za1SbGgFnefM5nesJqY0/TM3YO89n7duxwpBNFaF/wEYzNsXRrhcAv9tHuKw7u9TVjvGYKs+XIkJuScWGlYNecKnkRGSjokgnYvWqPWo6x8KIYC0C4VkEHSmn/V1kJN7EiJbFyTAdnJgQm0mosR3CT8z9VHFUnWDnXk60UeC9cGhPQdEH8+BZtjA7zKpGVKiJK6wAFrPoHfC4TckXUCxhchZ7pI2IY4Zf0v4/IectEZo2+IToigMFUnsrwoldzhV2wmjnYk9jUWE34Lth13NMkjYCqaOi8oh3OHna7XlntiYPsdLAoOTXRO5+zgF8a+BEhk1mGD8/MnTyr Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: af3ce659-3457-478d-56b5-08d792a1c00a X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jan 2020 12:12:50.3358 (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: f6IPfR+ctC+FKFWllBt3JNTdlyeCAe0t3CQzN+m5bnYTLOcv4ypJZnER1uIM77TU8EBvAfVEfmtIFbLcYe4tIyBv0lLyhKI/6yoXPcsUfpE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2974 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 10/11] examples/l3fwd: add graceful teardown for eventdevice 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" DQo+ID4+IEFkZCBncmFjZWZ1bCB0ZWFyZG93biB0aGF0IGFkZHJlc3NlcyBib3RoIGV2ZW50IG1v ZGUgYW5kIHBvbGwNCj4gPm1vZGUuDQo+ID4+DQo+ID4+IFNpZ25lZC1vZmYtYnk6IFBhdmFuIE5p a2hpbGVzaCA8cGJoYWdhdmF0dWxhQG1hcnZlbGwuY29tPg0KPiA+PiAtLS0NCj4gPj4gIGV4YW1w bGVzL2wzZndkL21haW4uYyB8IDQ5ICsrKysrKysrKysrKysrKysrKysrKysrKysrKysrKy0NCj4g Pi0tLS0tLS0tLS0tLQ0KPiA+PiAgMSBmaWxlIGNoYW5nZWQsIDM0IGluc2VydGlvbnMoKyksIDE1 IGRlbGV0aW9ucygtKQ0KPiA+Pg0KPiA+PiBkaWZmIC0tZ2l0IGEvZXhhbXBsZXMvbDNmd2QvbWFp bi5jIGIvZXhhbXBsZXMvbDNmd2QvbWFpbi5jDQo+ID4+IGluZGV4IDBhZTY0ZGQ0MS4uNjg5OThm NDJjIDEwMDY0NA0KPiA+PiAtLS0gYS9leGFtcGxlcy9sM2Z3ZC9tYWluLmMNCj4gPj4gKysrIGIv ZXhhbXBsZXMvbDNmd2QvbWFpbi5jDQo+ID4+IEBAIC05MjAsNyArOTIwLDcgQEAgbWFpbihpbnQg YXJnYywgY2hhciAqKmFyZ3YpDQo+ID4+ICAJc3RydWN0IGxjb3JlX2NvbmYgKnFjb25mOw0KPiA+ PiAgCXN0cnVjdCBydGVfZXRoX2Rldl9pbmZvIGRldl9pbmZvOw0KPiA+PiAgCXN0cnVjdCBydGVf ZXRoX3R4Y29uZiAqdHhjb25mOw0KPiA+PiAtCWludCByZXQ7DQo+ID4+ICsJaW50IGksIHJldDsN Cj4gPj4gIAl1bnNpZ25l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