app/crypto-perf: fix packet length check
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 5 Oct 2017 05:28:00 +0000 (06:28 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 12 Oct 2017 14:14:45 +0000 (15:14 +0100)
commit0c2173c166da8abba93ed4a2f602ad523ee7a59a
tree20b663a597a9d8c13db1107e34607263be6b3ce0
parentc1734807fcf9f58a82174d38832382c8f8085ab7
app/crypto-perf: fix packet length check

When using DES-CBC, packet size has to be multiple
of 8 bytes, but if a list of packets is provided.
the check was not correct.

Fixes: fc4600fb2520 ("app/crypto-perf: add extra option checks")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
app/test-crypto-perf/cperf_options_parsing.c