app/crypto-perf: check minimum lcore number
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 9 May 2018 09:44:21 +0000 (10:44 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 10 May 2018 16:46:20 +0000 (17:46 +0100)
commit0bb32d94973987c82351edd6e6e1a4e53dfd83a6
tree2e0e47314eaaad19ffe54efa4894683541fea936
parent6f4eec25653a3d4591eb41047ad0035b358c4cd6
app/crypto-perf: check minimum lcore number

The crypto performance application requires at least
two cores: one master core that launches the other slaves
and one core acting as slave running the crypto device.

Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
app/test-crypto-perf/main.c