From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00052.outbound.protection.outlook.com [40.107.0.52]) by dpdk.org (Postfix) with ESMTP id DD4912FDD for ; Fri, 8 Dec 2017 15:50:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=P8EnRo3NdVqJ9AaGFcTqXWf6wKbA7lu8ES/1FhVx/6o=; b=vqvrAOkhDNE2wdPsGVLRbmgECO83rO/4+WmMTgLsSxI29UWw0TvRPyOW+Dtyz+Yp5f16xlo2XL/9yDc8GByNEIcmYAhtcPhCHsFTJjjqxHncFMFU5FGc0i0lwWZO/aeHgjPMxqa0M9IKM8kI6jTAkzyVGOVvEzeUU6hwa2UML6A= Received: from VI1PR0502MB4079.eurprd05.prod.outlook.com (52.134.19.16) by VI1PR0502MB4080.eurprd05.prod.outlook.com (52.134.19.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Fri, 8 Dec 2017 14:50:36 +0000 Received: from VI1PR0502MB4079.eurprd05.prod.outlook.com ([fe80::e1af:fb62:751:707d]) by VI1PR0502MB4079.eurprd05.prod.outlook.com ([fe80::e1af:fb62:751:707d%13]) with mapi id 15.20.0302.007; Fri, 8 Dec 2017 14:50:37 +0000 From: "Xueming(Steven) Li" To: Olivier MATZ , Adrien Mazarguil CC: Wenzhuo Lu , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v1] lib/cmdline: init parse result memory Thread-Index: AQHTb/jnkNX3z6osK0+hNSXRgTNN/KM5X90AgAAXa4CAAA0TAA== Date: Fri, 8 Dec 2017 14:50:36 +0000 Message-ID: References: <20171115155402.9967-1-xuemingl@mellanox.com> <20171208070244.24094-1-xuemingl@mellanox.com> <20171208122726.GT4062@6wind.com> <20171208135114.wzkoidddxudbzyuy@platinum> In-Reply-To: <20171208135114.wzkoidddxudbzyuy@platinum> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=xuemingl@mellanox.com; x-originating-ip: [114.83.160.187] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0502MB4080; 6:cYbdqC/PJjHi3Wa7UtNcjOVlg7htFmN61bKM9h/dkbBFtLuJS5dCv1AA/MHBsgFLG6eYEg9FANjQMrMt29f2iWppYgTXaZQj8MJUbI88Vn5BPA0FMi4XewfHfmiV2Y2XBQcd+xtMzz2rORoN5A2rCceXT+ihV28DN3A6Rt4XxhxThdwinVDeZxWrWui+c6bmXxJMmvklVYtJt6ozpFfi5aRoT19+WhNOfr7Ld9p4i7AF71l/SABoiRx2ATuGpeIIjgB7ZYae+wWgbbH0xVz9fgw9TofjZtrl11rfxH5vM5D2kTfg+MoHCOIUrqVUrw2CyBGGfQ8Dgqgx3SgIuJlTB+huuC5k9d+NsuD1iOUlOv8=; 5:SQIxf4TEghtD4C/D2rTidhotnsVPKSox5GtV4XG2PAL8KWabvAq5h9uN6kRwwgz4C7RwrfcRiUa1rNCloZTNdQF5nPfI24QnkZJSGGMz6j3rpn4/LT3Kib6dgUEBpiqK6qy6Xpomy4TYBKLRVsyrKfNHvw6AlD7X4nY4ztBxjSI=; 24:NXxv7G3zTsHKO6Kyoj/icnw0eDAzMWI9Bw29pCgtdxpop4QGLBKGqWjP25yBtTgpqlj2T4nzQ/Hk1TAqW+Kf9e3XrwDWdK5SIQdmBJFN0qg=; 7:4If20kGeG9LhkhXLEh+gj3d08fTivnoaiTjoFVvWhjw84qbieAJ3hWTo3+YJGvKgAaiow4TkIVOd5zJ6wNHpjpmpY+2LFcIeSnXD9Hh9eUFkgLVv0IgwfXaFS7ayorK1HH8R5/TomhvNnfk7wCpHcKiGJApklNtlQTsSHFsPtxGQ6fGcrnwwRy2ldm1LM2vTvq9sRX48YyBEaLVgaXzSbb47YtqW8YFIS/nCmu3An/73fVxMdeWVoScmOIk2QJsQ x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d2cc5094-726a-4ec5-0366-08d53e4b0afb x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307); SRVR:VI1PR0502MB4080; x-ms-traffictypediagnostic: VI1PR0502MB4080: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(3002001)(3231022)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123558100)(20161123560025)(6072148)(201708071742011); SRVR:VI1PR0502MB4080; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:VI1PR0502MB4080; x-forefront-prvs: 0515208626 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(366004)(346002)(24454002)(199004)(189003)(13464003)(6436002)(6246003)(2950100002)(4326008)(2900100001)(110136005)(5250100002)(316002)(68736007)(14454004)(105586002)(86362001)(3280700002)(8936002)(478600001)(106356001)(74316002)(33656002)(5660300001)(305945005)(6506006)(66066001)(53936002)(229853002)(93886005)(97736004)(54906003)(25786009)(53546010)(55016002)(8676002)(9686003)(76176011)(102836003)(7736002)(81156014)(81166006)(99286004)(7696005)(6116002)(3660700001)(2906002)(3846002)(33344002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0502MB4080; H:VI1PR0502MB4079.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: d2cc5094-726a-4ec5-0366-08d53e4b0afb X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Dec 2017 14:50:36.9078 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB4080 Subject: Re: [dpdk-dev] [PATCH v1] lib/cmdline: init parse result memory 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, 08 Dec 2017 14:50:39 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogT2xpdmllciBNQVRaIFtt YWlsdG86b2xpdmllci5tYXR6QDZ3aW5kLmNvbV0NCj4gU2VudDogRnJpZGF5LCBEZWNlbWJlciA4 LCAyMDE3IDk6NTEgUE0NCj4gVG86IEFkcmllbiBNYXphcmd1aWwgPGFkcmllbi5tYXphcmd1aWxA NndpbmQuY29tPg0KPiBDYzogWHVlbWluZyhTdGV2ZW4pIExpIDx4dWVtaW5nbEBtZWxsYW5veC5j b20+OyBXZW56aHVvIEx1DQo+IDx3ZW56aHVvLmx1QGludGVsLmNvbT47IGRldkBkcGRrLm9yZw0K PiBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFUQ0ggdjFdIGxpYi9jbWRsaW5lOiBpbml0IHBh cnNlIHJlc3VsdCBtZW1vcnkNCj4gDQo+IE9uIEZyaSwgRGVjIDA4LCAyMDE3IGF0IDAxOjI3OjI2 UE0gKzAxMDA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