app/crypto-perf: return crypto ops to mempool in bulk
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Fri, 30 Jun 2017 07:56:58 +0000 (08:56 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 6 Jul 2017 15:15:49 +0000 (17:15 +0200)
commit15b55dd751207bb3df4196baff49bc6c33b6d6dc
treead5dcc07df9b2cc780d4851b098e6b7917804b3b
parentb9bdd5934de39719448baac6e6a22bab3974c4a1
app/crypto-perf: return crypto ops to mempool in bulk

Use rte_mempool_put_bulk for both latency and throughput tests instead
of rte_crypto_op_free to improve application performance.

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
app/test-crypto-perf/cperf_test_latency.c
app/test-crypto-perf/cperf_test_throughput.c