From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id AA995201 for ; Wed, 7 Nov 2018 12:05:34 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Nov 2018 03:05:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,475,1534834800"; d="scan'208";a="106183695" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by orsmga001.jf.intel.com with ESMTP; 07 Nov 2018 03:05:32 -0800 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.144]) by IRSMSX151.ger.corp.intel.com ([169.254.4.122]) with mapi id 14.03.0415.000; Wed, 7 Nov 2018 11:05:31 +0000 From: "Ananyev, Konstantin" To: "Guo, Jia" , Matan Azrad , "Burakov, Anatoly" , Thomas Monjalon , "Iremonger, Bernard" , "Wu, Jingjing" , "Lu, Wenzhuo" CC: "Yigit, Ferruh" , "dev@dpdk.org" , "Zhang, Helin" , "He, Shaopeng" Thread-Topic: [PATCH 3/3] app/testpmd: fix callback issue for hot-unplug Thread-Index: AQHUdZZ/ReY/Vk+/9kOS0OqMRkFIUKVCSsyAgAGhgYCAADukIA== Date: Wed, 7 Nov 2018 11:05:30 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580103069B86@irsmsx105.ger.corp.intel.com> References: <1541484436-91320-1-git-send-email-jia.guo@intel.com> <1541484436-91320-4-git-send-email-jia.guo@intel.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzFlNThmYmYtMGI0OC00OTk1LThhMzQtN2Q3MjY3MTRhZmFmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiR0tOZG5Ob3dkRHB6akhvR1lxZ2hcL01VQ1d5Q1wvUGtNZnJ3WUUxNlJmaU1NZ2FiUjhZS05RQjJXbGFtaDdRYXJBIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 3/3] app/testpmd: fix callback issue for hot-unplug 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: , X-List-Received-Date: Wed, 07 Nov 2018 11:05:35 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogR3VvLCBKaWENCj4gU2Vu dDogV2VkbmVzZGF5LCBOb3ZlbWJlciA3LCAyMDE4IDc6MzAgQU0NCj4gVG86IE1hdGFuIEF6cmFk IDxtYXRhbkBtZWxsYW5veC5jb20+OyBBbmFueWV2LCBLb25zdGFudGluIDxrb25zdGFudGluLmFu YW55ZXZAaW50ZWwuY29tPjsgQnVyYWtvdiwgQW5hdG9seQ0KPiA8YW5hdG9seS5idXJha292QGlu dGVsLmNvbT47IFRob21hcyBNb25qYWxvbiA8dGhvbWFzQG1vbmphbG9uLm5ldD47IElyZW1vbmdl ciwgQmVybmFyZCA8YmVybmFyZC5pcmVtb25nZXJAaW50ZWwuY29tPjsgV3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