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 CA8CAAA9B for ; Mon, 2 Apr 2018 15:45:46 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Apr 2018 06:45:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,395,1517904000"; d="scan'208";a="28908459" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga007.fm.intel.com with ESMTP; 02 Apr 2018 06:45:44 -0700 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 2 Apr 2018 06:45:44 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 2 Apr 2018 06:45:44 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.235]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.226]) with mapi id 14.03.0319.002; Mon, 2 Apr 2018 21:45:42 +0800 From: "Zhang, Qi Z" To: Chas Williams <3chas3@gmail.com> CC: "Zhang, Helin" , "dev@dpdk.org" , "Lu, Wenzhuo" , "Ananyev, Konstantin" , "Charles (Chas) Williams" Thread-Topic: [dpdk-dev] [PATCH] net/ixgbe: update data->eth_link status on start Thread-Index: AQHTyofhyPURszvjZE6Pq4rw07KqXqPtfADQ Date: Mon, 2 Apr 2018 13:45:42 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153177B93@SHSMSX103.ccr.corp.intel.com> References: <20180213225618.15693-1-3chas3@gmail.com> <039ED4275CED7440929022BC67E7061153177875@SHSMSX103.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: update data->eth_link status on start 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: Mon, 02 Apr 2018 13:45:48 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQ2hhcyBXaWxsaWFtcyBb bWFpbHRvOjNjaGFzM0BnbWFpbC5jb21dDQo+IFNlbnQ6IE1vbmRheSwgQXByaWwgMiwgMjAxOCA5 OjM4IFBNDQo+IFRvOiBaaGFuZywgUWkgWiA8cWkuei56aGFuZ0BpbnRlbC5jb20+DQo+IENjOiBa aGFuZywgSGVsaW4gPGhlbGluLnpoYW5nQGludGVsLmNvbT47IGRldkBkcGRrLm9yZzsgTHUsIFdl bnpodW8NCj4gPHdlbnpodW8ubHVAaW50ZWwuY29tPjsgQW5hbnlldiwgS29uc3RhbnRpbg0KPiA8 a29uc3RhbnRpbi5hbmFueWV2QGludGVsLmNvbT47IENoYXJsZXMgKENoYXMpIFdpbGxpYW1zIDxj aGFzM0BhdHQuY29tPg0KPiBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFUQ0hdIG5ldC9peGdi ZTogdXBkYXRlIGRhdGEtPmV0aF9saW5rIHN0YXR1cyBvbg0KPiBzdGFydA0KPiANCj4gT24gTW9u LCBBcHIgMiwgMjAxOCBhdCA4OjQwIEFNLCBaaGFuZywgUWkgWiA8cWkuei56aGFuZ0BpbnRlbC5j b20+IHdyb3RlOg0KPiA+IEhpIFdpbGxpYW1z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