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 AC57FA56E for ; Mon, 2 Apr 2018 14:40:45 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Apr 2018 05:40:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,395,1517904000"; d="scan'208";a="213265028" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga005.jf.intel.com with ESMTP; 02 Apr 2018 05:40:44 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 2 Apr 2018 05:40:43 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 2 Apr 2018 05:40:43 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.235]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.166]) with mapi id 14.03.0319.002; Mon, 2 Apr 2018 20:40:41 +0800 From: "Zhang, Qi Z" To: Chas Williams <3chas3@gmail.com>, "Zhang, Helin" CC: "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: AQHTyEuf4usp1PBUUEOAO8VgZ3+vjKPtbP4g Date: Mon, 2 Apr 2018 12:40:40 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153177875@SHSMSX103.ccr.corp.intel.com> References: <20180213225618.15693-1-3chas3@gmail.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 12:40:47 -0000 SGkgV2lsbGlhbXM6DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2 IFttYWlsdG86ZGV2LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBDaGFzIFdpbGxpYW1z DQo+IFNlbnQ6IFNhdHVyZGF5LCBNYXJjaCAzMSwgMjAxOCAxOjIyIEFNDQo+IFRvOiBaaGFuZywg SGVsaW4gPGhlbGluLnpoYW5nQGludGVsLmNvbT4NCj4gQ2M6IGRldkBkcGRrLm9yZzsgTHUsIFdl bnpodW8gPHdlbnpodW8ubHVAaW50ZWwuY29tPjsgQW5hbnlldiwNCj4gS29uc3RhbnRpbiA8a29u c3RhbnRpbi5hbmFueWV2QGludGVsLmNvbT47IENoYXJsZXMgKENoYXMpIFdpbGxpYW1zDQo+IDxj aGFzM0BhdHQuY29tPg0KPiBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFUQ0hdIG5ldC9peGdi ZTogdXBkYXRlIGRhdGEtPmV0aF9saW5rIHN0YXR1cyBvbg0KPiBzdGFydA0KPiANCj4gT24gRnJp LCBNYXIgMzAsIDIwMTggYXQgMTI6MzAgUE0sIFpoYW5nLCBIZWxpbiA8aGVsaW4uemhhbmdAaW50 ZWwuY29tPg0KPiB3cm90ZToNCj4gPg0KPiA+DQo+ID4+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0t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