From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 886D337B0 for ; Mon, 17 Apr 2017 07:02:21 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Apr 2017 22:02:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,213,1488873600"; d="scan'208";a="249959715" Received: from pgsmsx104.gar.corp.intel.com ([10.221.44.91]) by fmsmga004.fm.intel.com with ESMTP; 16 Apr 2017 22:02:18 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.175]) by PGSMSX104.gar.corp.intel.com ([169.254.3.113]) with mapi id 14.03.0319.002; Mon, 17 Apr 2017 13:02:17 +0800 From: "Zhao1, Wei" To: "Zhao1, Wei" , 'Thomas Monjalon' , "thomas@monjalon.net" CC: "Ananyev, Konstantin" , "Mcnamara, John" , "'dev@dpdk.org'" , "Lu, Wenzhuo" Thread-Topic: [dpdk-dev] [PATCH v4 1/3] lib/librte_ether: add support for port reset Thread-Index: AQHSqTm8K6Xc/Z+bh0WPnxNjoB7PqKGtRo6AgAplLjD//8WxAIAAoiDg//98+ICAC4Ha0P//kFEAADCuSMD//9DJAP//YG6Q//puR7D/9KrfUA== Date: Mon, 17 Apr 2017 05:02:16 +0000 Message-ID: References: <1490866456-52241-1-git-send-email-wei.zhao1@intel.com> <4157272.TqMeIE0yWW@xps13> <3836931.6Eq3YNmgkB@xps13> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.30.20.206] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 1/3] lib/librte_ether: add support for port reset 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, 17 Apr 2017 05:02:22 -0000 QWRkIFRob21hcyBuZXcgbWFpbCBhZGRyZXNzIGZvciB0aGlzIG1haWwuDQoNCj4gLS0tLS1Pcmln aW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IFttYWlsdG86ZGV2LWJvdW5jZXNAZHBkay5v cmddIE9uIEJlaGFsZiBPZiBaaGFvMSwgV2VpDQo+IFNlbnQ6IE1vbmRheSwgQXByaWwgMTcsIDIw MTcgMTA6MDkgQU0NCj4gVG86ICdUaG9tYXMgTW9uamFsb24nIDx0aG9tYXMubW9uamFsb25ANndp bmQuY29tPg0KPiBDYzogQW5hbnlldiwgS29uc3RhbnRpbiA8a29uc3RhbnRpbi5hbmFueWV2QGlu dGVsLmNvbT47IE1jbmFtYXJhLCBKb2huDQo+IDxqb2huLm1jbmFtYXJhQGludGVsLmNvbT47ICdk ZXZAZHBkay5vcmcnIDxkZXZAZHBkay5vcmc+OyBMdSwNCj4gV2Vuemh1byA8d2Vuemh1by5sdUBp bnRlbC5jb20+DQo+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSCB2NCAxLzNdIGxpYi9s aWJydGVfZXRoZXI6IGFkZCBzdXBwb3J0IGZvciBwb3J0DQo+IHJlc2V0DQo+IA0KPiBIaSwgVGhv bWFzDQo+IA0KPiAgICAgQWxsIHF1ZXN0aW9ucyBhYm91dCB0aGlzIHBhdGNoIHNldCBoYXMgYmVl biBhbnN3ZXJlZCwgaXMgaXQgY2xlYXIgb3Igbm90P0FuZA0KPiBpcyB0aGVyZSBhbnl0aGluZyB0 aGF0IEkgc2hvdWxkIGRvIGZvciBpdD8NCj4gT3IgaXQgaXMgT0sgZm9yIG1lcmdlIGludG8gMTcu MDItUkMyPw0KPiANCj4gVGhhbmsgeW91Lg0KPiANCj4gPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ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