From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-outbound-2.vmware.com (smtp-outbound-2.vmware.com [208.91.2.13]) by dpdk.org (Postfix) with ESMTP id 93E139AEC for ; Tue, 3 Feb 2015 19:53:10 +0100 (CET) Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id DC6A229749; Tue, 3 Feb 2015 10:53:08 -0800 (PST) Received: from EX13-CAS-006.vmware.com (EX13-CAS-006.vmware.com [10.113.191.56]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id D308C40B2C; Tue, 3 Feb 2015 10:53:08 -0800 (PST) Received: from EX13-MBX-018.vmware.com (10.113.191.38) by EX13-MBX-005.vmware.com (10.113.191.25) with Microsoft SMTP Server (TLS) id 15.0.913.22; Tue, 3 Feb 2015 10:53:08 -0800 Received: from EX13-MBX-018.vmware.com ([fe80::7cdc:b1ba:f507:8b02]) by EX13-MBX-018.vmware.com ([fe80::7cdc:b1ba:f507:8b02%15]) with mapi id 15.00.0913.011; Tue, 3 Feb 2015 10:53:08 -0800 From: Jia Yu To: "Zhang, Helin" Thread-Topic: [dpdk-dev] [PATCH 1/2] rte_ethdev: update link status (speed, duplex, link_up) after rte_eth_dev_start Thread-Index: AQHQPHeTe4WMz4hiRkaClB60kU3pRJzelgKAgAAIyaCAAK2RgA== Date: Tue, 3 Feb 2015 18:53:07 +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.113.160.246] Content-Type: text/plain; charset="utf-8" Content-ID: <15331A6A75134642ACEA4B985B1C9381@pa-exch1.vmware.com> 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: Tue, 03 Feb 2015 18:53:11 -0000 SGVsaW4sDQoNClRoYW5rcyBmb3IgY29tbWVudC4gQW55IGRldmljZSB0aGF0IGVuYWJsZWQgTFND IG5lZWRzIHRoaXMgZml4LCBvdGhlcndpc2UNCnRoZXkgYWxsIG5lZWQgdG8gY2FsbCBsaW5rX3Vw ZGF0ZSBzZXBhcmF0ZWx5LiBXZSBjYW5ub3QgYXNzdW1lIHRoYXQgb25seQ0KQm9uZCBlbmFibGVz IExTQyBpbnRlcnJ1cHQuDQoNClRoZSBmaXggd2lsbCBub3QgYmUgdXNlZCBmb3IgYWxsIFBNRHMs IGFzIGl0IGV4cGxpY2l0bHkgY2hlY2tzIGlmDQooZGV2LT5kYXRhLT5kZXZfY29uZi5pbnRyX2Nv bmYubHNjICE9IDApLiBUaGVyZWZvcmUsIGZvciBoYXJkd2FyZSBOSUMNCihlLmcuIDgyNTk5KSB0 aGF0IGRpc2FibGVkIGxzYyBieSBkZWZhdWx0LCB0aGUgbGlua191cGRhdGUgY2FsbGJhY2sgd2ls bA0Kbm90IGJlIGV4ZWN1dGVkLiBQbGVhc2UgbGV0IG1lIGtub3cgaWYgeW91IGhhdmUgb3RoZXIg Y29uY2VybnMuDQoNClRoYW5rcywNCkppYQ0KDQpPbiAyLzMvMTUsIDEyOjM1IEFNLCAiWmhhbmcs IEhlbGluIiA8aGVsaW4uemhhbmdAaW50ZWwuY29tPiB3cm90ZToNCg0KPg0KPg0KPj4gLS0tLS1P cmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4+IEZyb206IEppYSBZdSBbbWFpbHRvOmp5dUB2bXdhcmUu Y29tXQ0KPj4gU2VudDogVHVlc2RheSwgRmVicnVhcnkgMywgMjAxNSA0OjA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