From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20081.outbound.protection.outlook.com [40.107.2.81]) by dpdk.org (Postfix) with ESMTP id 2429F2C8 for ; Fri, 31 Mar 2017 16:11:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=TZ83U2qYLAIzDarB7vpZK/Z8/M841/1dDeYbh3ilLLc=; b=NCOrMpnHXEovk/jCU2mi1qTmCc+jPc1WjWPv1NSBjjijHRovcgQzQfKbURhdVytSSnvTPM4NBGLyEmJLfYNNR9cEV4F3BgC4QajHB7lqFNF4XyhUt6goZ7MHg4pY6fwBOFxUqJGr1Xn8rA9jV/ww74FVWyPHoj6aoFKegx2Is+M= Received: from DB5PR04MB1605.eurprd04.prod.outlook.com (10.164.38.147) by AM5PR0401MB2449.eurprd04.prod.outlook.com (10.169.244.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10; Fri, 31 Mar 2017 14:11:14 +0000 Received: from DB5PR04MB1605.eurprd04.prod.outlook.com ([fe80::8d85:e599:cb0a:3033]) by DB5PR04MB1605.eurprd04.prod.outlook.com ([fe80::8d85:e599:cb0a:3033%14]) with mapi id 15.01.1005.013; Fri, 31 Mar 2017 14:11:13 +0000 From: Hemant Agrawal To: Olivier Matz , Shreyansh Jain CC: "dev@dpdk.org" Thread-Topic: [RFC PATCH] test/test: support default mempool autotest Thread-Index: AQHSqgcmFpPdweyVTk2IoAipuzDtWKGu+hWAgAACN6A= Date: Fri, 31 Mar 2017 14:11:13 +0000 Message-ID: References: <1490955469-16216-1-git-send-email-shreyansh.jain@nxp.com> <20170331155953.65198108@platinum> In-Reply-To: <20170331155953.65198108@platinum> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [182.69.73.75] x-microsoft-exchange-diagnostics: 1; AM5PR0401MB2449; 7:MGYuCQkD5We4CJkxVixCf/cNDWxwbP5omnI2cmEX3R9ZNGhdC2jA6D6qxKimJ587WtTIeiT6asYo9HNrksVX4fFe9K45Vlm/+mEZOvLoxJDwWj1r4XJ6XtwxRRGK+79U1xz3eN7tRviPyzTqRPDOa542OkwD6cQiWlIKA/EGvZAS+uiePe97fOjVVKTf3kRTah3CPe+1I1+Jn9DUKzvDFuZdC0mZB7YvbJQZHWnRBCc4U2IjxRdCZ3xb4Z/HGGrnoJuH/JB1d3M1LE23RG/GlYVtJtDBOUscYE161a8pB6z0zy++O1eGWpZ6oIdbygexNXMk5bwwHEmTIBSJnkBp9Q== x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(6009001)(39850400002)(39400400002)(39410400002)(39450400003)(39840400002)(39860400002)(24454002)(377454003)(13464003)(6636002)(5660300001)(2950100002)(81166006)(189998001)(102836003)(6116002)(3846002)(229853002)(74316002)(7736002)(305945005)(86362001)(2906002)(8676002)(6506006)(53546009)(6436002)(8936002)(25786009)(4326008)(3280700002)(2900100001)(5250100002)(55016002)(3660700001)(9686003)(53936002)(38730400002)(99286003)(66066001)(76176999)(54356999)(7696004)(50986999)(33656002)(6246003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0401MB2449; H:DB5PR04MB1605.eurprd04.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; x-ms-office365-filtering-correlation-id: 0590f88a-9581-44c9-4957-08d4783fca45 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081); SRVR:AM5PR0401MB2449; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(278428928389397)(185117386973197); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(20161123564025)(20161123555025)(20161123562025)(6072148); SRVR:AM5PR0401MB2449; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0401MB2449; x-forefront-prvs: 02638D901B spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Mar 2017 14:11:13.7112 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0401MB2449 Subject: Re: [dpdk-dev] [RFC PATCH] test/test: support default mempool autotest 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, 31 Mar 2017 14:11:17 -0000 SEkgT2xpdmllciwNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBPbGl2 aWVyIE1hdHogW21haWx0bzpvbGl2aWVyLm1hdHpANndpbmQuY29tXQ0KPiBTZW50OiBGcmlkYXks IE1hcmNoIDMxLCAyMDE3IDc6MzAgUE0NCj4gVG86IFNocmV5YW5zaCBKYWluIDxzaHJleWFuc2gu amFpbkBueHAuY29tPg0KPiBDYzogZGV2QGRwZGsub3JnOyBIZW1hbnQgQWdyYXdhbCA8aGVtYW50 LmFncmF3YWxAbnhwLmNvbT4NCj4gU3ViamVjdDogUmU6IFtSRkMgUEFUQ0hdIHRlc3QvdGVzdDog c3VwcG9ydCBkZWZhdWx0IG1lbXBvb2wg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