From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id AC2FA2986 for ; Fri, 14 Apr 2017 10:03:11 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Apr 2017 01:03:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,197,1488873600"; d="scan'208";a="88926965" Received: from kmsmsx154.gar.corp.intel.com ([172.21.73.14]) by fmsmga005.fm.intel.com with ESMTP; 14 Apr 2017 01:03:06 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.175]) by KMSMSX154.gar.corp.intel.com ([169.254.12.193]) with mapi id 14.03.0319.002; Fri, 14 Apr 2017 16:03:05 +0800 From: "Zhao1, Wei" To: Thomas Monjalon 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 Date: Fri, 14 Apr 2017 08:03:04 +0000 Message-ID: References: <1490866456-52241-1-git-send-email-wei.zhao1@intel.com> <4157272.TqMeIE0yWW@xps13> <3836931.6Eq3YNmgkB@xps13> In-Reply-To: <3836931.6Eq3YNmgkB@xps13> 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: Fri, 14 Apr 2017 08:03:12 -0000 SGksIFRob21hcw0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFRob21h cyBNb25qYWxvbiBbbWFpbHRvOnRob21hcy5tb25qYWxvbkA2d2luZC5jb21dDQo+IFNlbnQ6IEZy aWRheSwgQXByaWwgMTQsIDIwMTcgMjozMSBQTQ0KPiBUbzogWmhhbzEsIFdlaSA8d2VpLnpoYW8x QGludGVsLmNvbT4NCj4gQ2M6IEFuYW55ZXYsIEtvbnN0YW50aW4gPGtvbnN0YW50aW4uYW5hbnll dkBpbnRlbC5jb20+OyBNY25hbWFyYSwgSm9obg0KPiA8am9obi5tY25hbWFyYUBpbnRlbC5jb20+ OyBkZXZAZHBkay5vcmc7IEx1LCBXZW56aHVvDQo+IDx3ZW56aHVvLmx1QGludGVsLmNvbT4NCj4g U3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIIHY0IDEvM10gbGliL2xpYnJ0ZV9ldGhlcjog YWRkIHN1cHBvcnQgZm9yIHBvcnQNCj4gcmVzZXQNCj4gDQo+IDIwMTctMDQtMTQgMDE6MjksIFpo YW8xLCBXZWk6DQo+ID4gRnJvbTogVGhvbWFzIE1vbmphbG9uIFttYWlsdG86dGhvbWFzLm1vbmph bG9uQDZ3aW5kLmNvbV0NCj4gPiA+IDIwMTctMDQtMTMgMDg6NTUsIFpoYW8xLCBXZWk6DQo+ID4g PiA+IEZyb206IEFuYW55ZXYsIEtvbnN0YW50aW4NCj4gPiA+ID4gPiBGcm9tOiBaaGFvMSwgV2Vp DQo+ID4gPiA+ID4gPiBGcm9tOiBUaG9tYXMgTW9uamFsb24gW21haWx0bzp0aG9tYXMubW9uamFs b25ANndpbmQuY29tXQ0KPiA+ID4gPiA+ID4gPiAyMDE3LTA0LTA2IDAyOjU3LCBaaGFvMSwgV2Vp Og0KPiA+ID4gPiA+ID4gPiA+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