numam-dpdk/app
Tomasz Jozwiak 3356083a77 app/crypto-perf: fix burst size calculation
This patch fixes segmentation fault in pmd_cyclecount_bench_ops
function in case when state->opts->nb_descriptors is not
natural multiple of burst size.
To reproduce run: dpdk-test-crypto-perf with params:
  --ptest pmd-cyclecount --pmd-cyclecount-delay-ms 5 \
  --devtype crypto_qat --optype cipher-then-auth \
  --cipher-algo aes-cbc --cipher-op encrypt \
  --cipher-key-sz 16 --cipher-iv-sz 16 \
  --auth-algo sha2-256-hmac \
  --auth-op generate --auth-key-sz 64 --digest-sz 32 \
  --total-ops 10000 --burst-sz 255 --buffer-sz 1024 --silent

Fixes: 96dfeb609b ("app/crypto-perf: add new PMD benchmarking mode")
Cc: stable@dpdk.org

Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2018-05-10 17:46:20 +01:00
..
pdump app/pdump: remove unused socket path options 2018-04-26 18:19:29 +02:00
proc-info ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
test-bbdev app: add all remaining apps to meson build 2018-03-12 16:29:27 +01:00
test-crypto-perf app/crypto-perf: fix burst size calculation 2018-05-10 17:46:20 +01:00
test-eventdev ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
test-pmd app/testpmd: add command to resume a TM node 2018-05-04 16:40:42 +02:00
Makefile app/procinfo: rename folder to remove underscore 2018-03-12 16:29:27 +01:00
meson.build app: add all remaining apps to meson build 2018-03-12 16:29:27 +01:00