[dpdk-dev] [PATCH] autotests: fix mempool element size in func_reentrancy

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Apr 11 12:12:59 CEST 2016


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


More information about the dev mailing list