From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id EEE681B295 for ; Wed, 1 Aug 2018 20:16:22 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Aug 2018 11:16:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,432,1526367600"; d="scan'208";a="61596696" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by orsmga008.jf.intel.com with ESMTP; 01 Aug 2018 11:16:15 -0700 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.193]) by IRSMSX106.ger.corp.intel.com ([169.254.8.211]) with mapi id 14.03.0319.002; Wed, 1 Aug 2018 19:16:14 +0100 From: "De Lara Guarch, Pablo" To: Andrew Rybchenko , "olivier.matz@6wind.com" CC: "dev@dpdk.org" Thread-Topic: [PATCH] mempool: check for invalid args on creation Thread-Index: AQHUHf4UUI7RFu+OhUG7/iIglgcffKSYNbqAgBMVjzA= Date: Wed, 1 Aug 2018 18:16:14 +0000 Message-ID: References: <20180717103720.26783-1-pablo.de.lara.guarch@intel.com> <6a46bfe4-c016-dacc-74d4-5e61a161fced@solarflare.com> In-Reply-To: <6a46bfe4-c016-dacc-74d4-5e61a161fced@solarflare.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTFlOTM0YWYtZDg3NC00NTRlLThmMjctYWVkNzRlNjg1NzNmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoic1diODNjeVByUGI3eG0zSERBRmRXU1VlRUdiSis0WXF1bm45QmRrOURWRnNHNlNPUE1lMmRhSFNtM2NsT0FyQSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] mempool: check for invalid args on creation 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: Wed, 01 Aug 2018 18:16:23 -0000 SGkgQW5kcmV3LA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEFuZHJl dyBSeWJjaGVua28gW21haWx0bzphcnliY2hlbmtvQHNvbGFyZmxhcmUuY29tXQ0KPiBTZW50OiBG cmlkYXksIEp1bHkgMjAsIDIwMTggNDo0OSBQTQ0KPiBUbzogRGUgTGFyYSBHdWFyY2gsIFBhYmxv IDxwYWJsby5kZS5sYXJhLmd1YXJjaEBpbnRlbC5jb20+Ow0KPiBvbGl2aWVyLm1hdHpANndpbmQu Y29tDQo+IENjOiBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtQQVRDSF0gbWVtcG9vbDog Y2hlY2sgZm9yIGludmFsaWQgYXJncyBvbiBjcmVhdGlvbg0KPiANCj4gT24gMTcuMDcuMjAxOCAx MzozNywgUGFibG8gZGUgTGFyYSB3cm90ZToNCj4gPiBDdXJyZW50bHksIGEgbWVtcG9vbCBjYW4g YmUgY3JlYXRlZCBpZiB0aGUgbnVtYmVyIG9mIG9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