From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50074.outbound.protection.outlook.com [40.107.5.74]) by dpdk.org (Postfix) with ESMTP id DFF957CFC for ; Thu, 7 Dec 2017 16:35:25 +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=yL7BmjHJFzYPObwt7i1ly3Uy4H7CPNW6bV28kJ9NGig=; b=kPAbI3CNAn35qeYFQ+4MdGCq4Qe6du2/Q/NC2f/u+EIKZlOPVJNVL2giYPzU/8MdzLaWmK1MwY/o1N6oXHSbretMHJcNK/YH1XXtiKvKMDCKYfOcoJtkM4v0GOLin8zup+eSCAobCjrnl/WgqIuxORm9Ry8+rS4r5tUdYtoT4ec= Received: from VI1PR0502MB4079.eurprd05.prod.outlook.com (52.134.19.16) by VI1PR0502MB4078.eurprd05.prod.outlook.com (52.134.19.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Thu, 7 Dec 2017 15:35:24 +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; Thu, 7 Dec 2017 15:35:24 +0000 From: "Xueming(Steven) Li" To: "Xueming(Steven) Li" , Olivier MATZ , Adrien Mazarguil CC: "dev@dpdk.org" Thread-Topic: [PATCH] lib/cmdline: init parse result memeory Thread-Index: AQHTXin/+Up6ZqdkNEWvlqmkRispPKM4GHCAgAAD35CAAAgc8A== Date: Thu, 7 Dec 2017 15:35:24 +0000 Message-ID: References: <20171115155402.9967-1-xuemingl@mellanox.com> <20171207144802.sgj33veeehxixhfk@glumotte.dev.6wind.com> In-Reply-To: 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; VI1PR0502MB4078; 6:fD2lmCttN6abtDuHw0wUs+nEjZhvrQwzC85g7w5JNlyn2jggkbRX1EdMN6pfPhDdKXTXQDuDwKdfBB9j+T0bImbQUTa7oqYe9rTc3o5A7mHEAFvplSX6T/Sy9ALfmEYJ5AsqGGZ5kI0Rbm3NQgZTjQX/vnwAeIlAUMuOUwEAmOE85x4xu4jF53yBbuEfaqWi0f17HcH0Z7oPs8H4hdZbb0BUp7lOjcUZJdZMMF1uglhp6/+pWEgKLY1p5yOBdQrCPCQJ8XJ4KiIiV6mrrUhbLu7Lhc5AWpOgv+0iBLl77vmI4blSC9nRJciIniPpgsSclzMOziWGckBpfzi/U6affrVDs7f1Ry5g795/eiSJ59k=; 5:Q4c4zaAl7zx/kJc0/halolNHdsa2fY4wNcSr6dgv4D+3g2brjRJfvltEcTITpx/8R9Mw6PDElR00liqT52lKzhmue4mTT/RTWo5KBcPQomGqzfO+xGBafUD7GS5On6Dc+dNk88E829sUa/VgN+XWiyyEpNTibzvypqPpdubK6L8=; 24:Vc9eKSTBkn7P7BjySDDWe6y6e4y+MOrJLhhDRv6s4UJPoQEENJfg+aj/16/UBWVyljarnycuNFUQSm/xOJWwgzqYDdP2tkzoNF04IaLHiLc=; 7:mGXULBI1hsKImxE9vYkzSBHKbcrtstKJa/Ij5Q5zCPrp1AV4T4CT0TDiWsmur25AxeGKUq236rTnCkLmx1v/Rfs8MfmVBkZJ7ChvhHuPTlzS4ABk7DsVb+Gp9ly3R3/PG3g/M9jT1XpRdi/NmHR3uD/urJb29JZJuEsRJMEo+OUg49b5wAlFYdrcJ0sh46gDH2MHW1XOQuN2wT0dh1gWDv1Kxv3O08A0nmngyc6TKC1iwEokuBAFN2wuKVQGYnxE x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 247fac76-4839-48a7-6003-08d53d882278 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603286); SRVR:VI1PR0502MB4078; x-ms-traffictypediagnostic: VI1PR0502MB4078: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231022)(3002001)(6055026)(6041248)(20161123558100)(20161123564025)(20161123562025)(20161123555025)(201703131423075)(201703011903075)(201702281528075)(201703061421075)(20161123560025)(6072148)(201708071742011); SRVR:VI1PR0502MB4078; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:VI1PR0502MB4078; x-forefront-prvs: 05143A8241 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7966004)(346002)(366004)(39860400002)(376002)(24454002)(13464003)(189003)(199004)(305945005)(101416001)(99286004)(53546010)(508600001)(68736007)(97736004)(86362001)(4326008)(7696005)(316002)(2950100002)(3846002)(229853002)(3660700001)(6116002)(110136005)(7736002)(14454004)(55016002)(8936002)(102836003)(6436002)(9686003)(76176011)(33656002)(6506006)(2940100002)(5660300001)(106356001)(105586002)(5250100002)(2906002)(81156014)(74316002)(53936002)(3280700002)(25786009)(81166006)(8676002)(66066001)(2900100001)(6246003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0502MB4078; H:VI1PR0502MB4079.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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: 247fac76-4839-48a7-6003-08d53d882278 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Dec 2017 15:35:24.4860 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB4078 Subject: Re: [dpdk-dev] [PATCH] lib/cmdline: init parse result memeory 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: Thu, 07 Dec 2017 15:35:26 -0000 DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IGRldiBbbWFpbHRvOmRldi1i b3VuY2VzQGRwZGsub3JnXSBPbiBCZWhhbGYgT2YgWHVlbWluZyhTdGV2ZW4pIExpDQo+IFNlbnQ6 IFRodXJzZGF5LCBEZWNlbWJlciA3LCAyMDE3IDExOjA1IFBNDQo+IFRvOiBPbGl2aWVyIE1BVFog PG9saXZpZXIubWF0ekA2d2luZC5jb20+DQo+IENjOiBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDog UmU6IFtkcGRrLWRldl0gW1BBVENIXSBsaWIvY21kbGluZTogaW5pdCBwYXJzZSByZXN1bHQgbWVt ZW9yeQ0KPiANCj4gSGkgT2xpdmllciwNCj4gDQo+ID4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0t LS0NCj4gPiBGcm9tOiBPbGl2aWVyIE1BVFogW21haWx0bzpvbGl2aWVyLm1hdHpANndpbmQuY29t XQ0KPiA+IFNlbnQ6IFRodXJzZGF5LCBEZWNlbWJlciA3LCAyMDE3IDEwOjQ4IFBNDQo+ID4gVG86 IFh1ZW1pbmcoU3RldmVuKSBMaSA8eHVlb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