From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 48E26AD8F for ; Wed, 4 Feb 2015 01:37:43 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 03 Feb 2015 16:33:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,516,1418112000"; d="scan'208";a="680494816" Received: from pgsmsx105.gar.corp.intel.com ([10.221.44.96]) by orsmga002.jf.intel.com with ESMTP; 03 Feb 2015 16:37:40 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by PGSMSX105.gar.corp.intel.com (10.221.44.96) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 4 Feb 2015 08:37:38 +0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.161]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.91]) with mapi id 14.03.0195.001; Wed, 4 Feb 2015 08:37:38 +0800 From: "Zhang, Helin" To: Jia Yu Thread-Topic: [dpdk-dev] [PATCH 1/2] rte_ethdev: update link status (speed, duplex, link_up) after rte_eth_dev_start Thread-Index: AQHQPHeTe4WMz4hiRkaClB60kU3pRJzelgKAgAAIyaCAAK2RgIAAXwFA Date: Wed, 4 Feb 2015 00:37:37 +0000 Message-ID: References: <1415381511-43364-1-git-send-email-jyu@vmware.com> <1415381511-43364-2-git-send-email-jyu@vmware.com> <3121142.D7ktn8xfBZ@xps13> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH 1/2] rte_ethdev: update link status (speed, duplex, link_up) after rte_eth_dev_start X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2015 00:37:44 -0000 SGkgSmlhDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSmlhIFl1IFtt YWlsdG86anl1QHZtd2FyZS5jb21dDQo+IFNlbnQ6IFdlZG5lc2RheSwgRmVicnVhcnkgNCwgMjAx NSAyOjUzIEFNDQo+IFRvOiBaaGFuZywgSGVsaW4NCj4gQ2M6IGRldkBkcGRrLm9yZzsgVGhvbWFz IE1vbmphbG9uDQo+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSCAxLzJdIHJ0ZV9ldGhk ZXY6IHVwZGF0ZSBsaW5rIHN0YXR1cyAoc3BlZWQsDQo+IGR1cGxleCwgbGlua191cCkgYWZ0ZXIg cnRlX2V0aF9kZXZfc3RhcnQNCj4gDQo+IEhlbGluLA0KPiANCj4gVGhhbmtzIGZvciBjb21tZW50 LiBBbnkgZGV2aWNlIHRoYXQgZW5hYmxlZCBMU0MgbmVlZHMgdGhpcyBmaXgsIG90aGVyd2lzZQ0K PiB0aGV5IGFsbCBuZWVkIHRvIGNhbGwgbGlua191cGRhdGUgc2VwYXJhdGVseS4gV2UgY2Fubm90 IGFzc3VtZSB0aGF0IG9ubHkgQm9uZA0KPiBlbmFibGVzIExTQyBpbnRlcnJ1cHQuDQo+IA0KPiBU aGUgZml4IHdpbGwgbm90IGJlIHVzZWQgZm9yIGFsbCBQTURzLCBhcyBpdCBleHBsaWNpdGx5IGNo ZWNrcyBpZg0KPiAoZGV2LT5kYXRhLT5kZXZfY29uZi5pbnRyX2NvbmYubHNjICE9IDApLiBUaGVy ZWZvcmUsIGZvciBoYXJkd2FyZSBOSUMgKGUuZy4NCj4gODI1OTkpIHRoYXQgZGlzYWJsZWQgbHNj IGJ5IGRlZmF1bHQsIHRoZSBsaW5rX3VwZGF0ZSBjYWxsYmFjayB3a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