From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F241FA00C5; Thu, 2 Jul 2020 12:43:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C0D651D94D; Thu, 2 Jul 2020 12:43:55 +0200 (CEST) Received: from huawei.com (szxga02-in.huawei.com [45.249.212.188]) by dpdk.org (Postfix) with ESMTP id CE0851D92D; Thu, 2 Jul 2020 12:43:53 +0200 (CEST) Received: from DGGEMM401-HUB.china.huawei.com (unknown [172.30.72.53]) by Forcepoint Email with ESMTP id D131516F1DEF64D9F5AB; Thu, 2 Jul 2020 18:43:51 +0800 (CST) Received: from DGGEMM421-HUB.china.huawei.com (10.1.198.38) by DGGEMM401-HUB.china.huawei.com (10.3.20.209) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 2 Jul 2020 18:43:51 +0800 Received: from DGGEMM513-MBX.china.huawei.com ([169.254.1.144]) by dggemm421-hub.china.huawei.com ([10.1.198.38]) with mapi id 14.03.0487.000; Thu, 2 Jul 2020 18:43:43 +0800 From: wangyunjian To: Jeff Guo , "dev@dpdk.org" CC: "Lilijun (Jerry)" , xudingke , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 3/3] eal: return error code when failure Thread-Index: AQHWOaY+aWTK4rFJPEy9C2pLVj5IdKjzqiuAgACdRoA= Date: Thu, 2 Jul 2020 10:43:42 +0000 Message-ID: <34EFBCA9F01B0748BEB6B629CE643AE60D0980EE@dggemm513-mbx.china.huawei.com> References: <65433c2a9efdb47b1c9dba63d9bd1cb160e08097.1591186247.git.wangyunjian@huawei.com> <058d3d03-ccd4-f8f1-c489-5b6525867516@intel.com> In-Reply-To: <058d3d03-ccd4-f8f1-c489-5b6525867516@intel.com> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.174.185.168] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH 3/3] eal: return error code when failure 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBKZWZmIEd1byBbbWFpbHRvOmpp YS5ndW9AaW50ZWwuY29tXQ0KPiBTZW50OiBUaHVyc2RheSwgSnVseSAyLCAyMDIwIDU6MTkgUE0N Cj4gVG86IHdhbmd5dW5qaWFuIDx3YW5neXVuamlhbkBodWF3ZWkuY29tPjsgZGV2QGRwZGsub3Jn DQo+IENjOiBMaWxpanVuIChKZXJyeSkgPGplcnJ5LmxpbGlqdW5AaHVhd2VpLmNvbT47IHh1ZGlu Z2tlDQo+IDx4dWRpbmdrZUBodWF3ZWkuY29tPjsgc3RhYmxlQGRwZGsub3JnDQo+IFN1YmplY3Q6 IFJlOiBbZHBkay1kZXZdIFtQQVRDSCAzLzNdIGVhbDogcmV0dXJuIGVycm9yIGNvZGUgd2hlbiBm YWlsdXJlDQo+IA0KPiBoaSwgeXVuamlhbg0KPiANCj4gT24gNi8zLzIwMjAgODo1NSBQTSwgd2Fu Z3l1bmppYW4gd3JvdGU6DQo+ID4gRnJvbTogWXVuamlhbiBXYW5nIDx3YW5neXVuamlhbkBodWF3 ZWkuY29tPg0KPiA+DQo+ID4gRml4IHJldHVybiB2YWx1ZSwgdXNpbmcgLUVBR0FJTiBpbnN0ZWFk IG9mIDAgd2hlbiB0aGUgY2FsbGJhY2sgaXMgYnVzeQ0KPiA+IGFuZCB1c2luZyAtRU5PRU5UIGlu c3RlYWQgb2YgMCB3aGVuIHRoZSBjYWxsYmFjayBpcyBub3QgZm91bmQuDQo+ID4NCj4gPiBGa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