app/crypto-perf: fix mempool creation
authorRadu Nicolau <radu.nicolau@intel.com>
Mon, 16 Jul 2018 11:14:16 +0000 (12:14 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 23 Jul 2018 23:48:10 +0000 (01:48 +0200)
commitf05511bc85c9648f8954ced8ab78ef3f327c003c
tree352a432eb6816b12e2af6e1c4e907b4ad45891a3
parent78de041582adf18e8da0e7ee04b71ca47a4829f0
app/crypto-perf: fix mempool creation

Using a small number of sessions results in rte_mempool_create call
with cache_size > n, which fails. There is no need to cache the elements,
as there is no performance impact.

Fixes: 501c0a3b14c3 ("app/crypto-perf: limit number of sessions")

Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
app/test-crypto-perf/main.c