app/test: fix sched mempool allocation
authorMarvin Liu <yong.liu@intel.com>
Wed, 29 Jul 2015 03:22:01 +0000 (11:22 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 3 Aug 2015 21:44:05 +0000 (23:44 +0200)
commitbed17d93a66a47e0cd11e9e4ff248204d9f5a8ae
treed4df2f7be717a2587adc339653fc0e0499ddb391
parent33dd07136f14f81df2760be57a61df521b1e4c84
app/test: fix sched mempool allocation

In previous setting, mempool size and cache_size were both 32.
It does not satisfy with cache_size checking rule by now.
Cache size should be less than CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE and
mempool size / 1.5.

Fixes: 462321b44a80 ("mempool: limit cache size")

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
[Thomas: remove unused PKT_BURST_SZ]
app/test/test_sched.c