[dpdk-dev] [PATCH] autotests: fix mempool element size in func_reentrancy
Olivier Matz
olivier.matz at 6wind.com
Mon Apr 11 12:21:28 CEST 2016
On 04/11/2016 12:12 PM, Thomas Monjalon wrote:
> 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
You perfectly got the idea :)
Thanks and sorry for the typo...
More information about the dev
mailing list