From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=VOGT8QzL3sn5AZw80MOXfttPAleHPSIp48XikOTfoI8=; b=Mnngd70+FsA8OSCQIb65Tj+/S0lb3piZJ4BZFijueJDOCmBIRU6CQOMj0lZwZzxeYk fAdl2a1Ya8GB6FhGgOiYo+A7m/HI1JGlcwNwMiPWGnOkztnsw7UPdXFiC4E02lGMFstN 7MuD6WvXZXsUKsReMW+i/dDsYgu0K4DEeR/Lp567et+XcV8UmnU30z6JlMie1rASIc19 YfhuYXeod0G/0KR8N9/3jsqx/BkdFlFKuCBAZrMUmphjZIH1HrZreKklv/p4AknWYIAa TT2N4n+0SW4uRC0NVIKbRpssWjTmnCCjIdBiXKmhs/zmZj0EvyhaTgfL4t0i1dGkqZxl 7dhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=VOGT8QzL3sn5AZw80MOXfttPAleHPSIp48XikOTfoI8=; b=IA5PU3IW2dSena9EH/T5kppF50eKMtmYTFsJ0ol7J0rlz95BVBoif7iwj1HY8/zt7/ tpm6gFvx6z4s54rXQh7HQuqNJMOv64J3szKYz/0C6F3K1KRypEsO/770x08xuGFhqxX3 +pOiHCPIa01NXSw5lyW0/t0DctAxWF+nxJqoSOEAtgDyZ0D0/XjaRmoNEijU5aFvAqyr rGHOMMqtVoTY2SXsfXZNOvk52ng3zRYX/eXdF05EQ1wdbc8ozYwCgZzIwZ7Tc7jXYp/Y nSYSyZLnlm2jP4e+hgrWmvXALzzeOrZVU1EfQ/aZp0GunKm6mSXClqak5aFlip1QDe6H bU7Q== X-Gm-Message-State: AD7BkJJbsoHozzxMj2rN59P1eX9WIgVJJBgh8UVEsV00ZS/VfFZrHAH2+7aPVS0dp9l46/OP X-Received: by 10.28.227.130 with SMTP id a124mr18013141wmh.2.1460369581423; Mon, 11 Apr 2016 03:13:01 -0700 (PDT) Received: from xps13.localnet (245.111.75.86.rev.sfr.net. [86.75.111.245]) by smtp.gmail.com with ESMTPSA id w193sm17546959wmd.0.2016.04.11.03.13.00 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Apr 2016 03:13:00 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Cc: dev@dpdk.org Date: Mon, 11 Apr 2016 12:12:59 +0200 Message-ID: <7090107.qEOdApp0aR@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1460367203-30925-1-git-send-email-olivier.matz@6wind.com> References: <1460367203-30925-1-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] autotests: fix mempool element size in func_reentrancy X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2016 10:13:01 -0000 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