From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] autotests: fix mempool element size in func_reentrancy Date: Mon, 11 Apr 2016 12:12:59 +0200 Message-ID: <7090107.qEOdApp0aR@xps13> References: <1460367203-30925-1-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Olivier Matz Return-path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 9523D2BF3 for ; Mon, 11 Apr 2016 12:13:01 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id n3so97586048wmn.0 for ; Mon, 11 Apr 2016 03:13:01 -0700 (PDT) In-Reply-To: <1460367203-30925-1-git-send-email-olivier.matz@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-04-11 11:33, Olivier Matz: > --- a/app/test/test_func_reentrancy.c > +++ b/app/test/test_func_reentrancy.c > @@ -78,7 +78,7 @@ typedef void (*case_clean_t)(unsigned lcore_id); > #define MAX_ITER_TIMES (16) > #define MAX_LPM_ITER_TIMES (8) > > -#define MEMPOOL_ELT_SIZE (0) > +#define MEMPOOL_ELT_SIZE (sizeof(uint32)) I understand the idea of the patch. Using uint32_t would probably make a good fix ;) Applied correctly, thanks