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 108E6A0350; Tue, 12 May 2020 05:44:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6D42E1C06D; Tue, 12 May 2020 05:44:13 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 13CBA1BFD6 for ; Tue, 12 May 2020 05:44:11 +0200 (CEST) IronPort-SDR: kHaLtU3aIZkeVIwWt+aGeIeqdeTvZQDETN+QH0F30EoNFcMzosENOR1DW+3nxBccWXkqY9OG9m mpX0F7jlbmNA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2020 20:44:11 -0700 IronPort-SDR: gBrMSNehK+t/sRzWSN4464KqVQyRl8oz8vbtoLpyB0NxMqKhAXDkWi5zX5y9tjxE/au8zaXldY nBHSaA5tu6Qg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,382,1583222400"; d="scan'208";a="261984193" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga003.jf.intel.com with ESMTP; 11 May 2020 20:44:11 -0700 Received: from cdsmsx103.ccr.corp.intel.com (172.17.3.37) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 11 May 2020 20:44:10 -0700 Received: from cdsmsx102.ccr.corp.intel.com ([169.254.2.168]) by CDSMSX103.ccr.corp.intel.com ([169.254.5.95]) with mapi id 14.03.0439.000; Tue, 12 May 2020 11:44:08 +0800 From: "Zhang, AlvinX" To: "Guo, Jia" , "dev@dpdk.org" CC: "Xing, Beilei" , "Lu, Wenzhuo" Thread-Topic: [dpdk-dev] [PATCH] net/e1000: fix port hotplug for multi-process Thread-Index: AQHWHfDzGcU07jPXqU6lQV3rrTq0daijUdEAgACQufA= Date: Tue, 12 May 2020 03:44:08 +0000 Message-ID: <6CE17E955B70FA409286764E3E0B3641164830A7@CDSMSX102.ccr.corp.intel.com> References: <20200429063724.17284-1-alvinx.zhang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.17.6.105] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/e1000: fix port hotplug for multi-process 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" SGkgSmlhLA0KDQpJdCBzaG91bGRuJ3QgcmV0dXJuIGVycm9yIGZvciBzZWNvbmRhcnkuICdydGVf ZXRoX2Rldl9yZWxlYXNlX3BvcnQoKScgaGFzIGFscmVhZHkgcHJvY2VzcyB0eXBlIGluIGl0LCBz byByZXR1cm5pbmcgJzAnIHNob3VsZCB3b3JrIGJldHRlciB3aGljaCB3aWxsIGNhdXNlIHNvbWUg cHJvY2VzcyBzcGVjaWZpYyB2YXJpYWJsZXMgY2xlYXJlZC4NCkluIG90aGVyd2lzZSwgb25seSBw cmltYXJ5IHByb2Nlc3MgbmVlZCB0byByZWFsbHkgY2xvc2UgdGhlIGRldmljZS4NCg0KQlIsDQpB bHZpbg0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEd1bywgSmlhDQo+ IFNlbnQ6IFR1ZXNkYXksIE1heSAxMiwgMjAyMCAxMTowMyBBTQ0KPiBUbzogWmhhbmcsIEFsdmlu WCA8YWx2aW54LnpoYW5nQGludGVsLmNvbT47IGRldkBkcGRrLm9yZw0KPiBDYzog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