> -----Original Message-----
> From: stable [mailto:[email protected]] On Behalf Of Tomasz Jozwiak
> Sent: Thursday, April 26, 2018 10:06 AM
> To: [email protected]
> Cc: [email protected]; Burakov, Anatoly <[email protected]>; Jozwiak,
> TomaszX <[email protected]>
> Subject: [dpdk-stable] [PATCH] app/crypto-perf: fix pmd_cyclecount_bench_ops
> 
> 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: 96dfeb609be1 ("app/crypto-perf: add new PMD benchmarking mode")
> Cc: Anatoly Burakov <[email protected]>
> Cc: [email protected]
> 
> Signed-off-by: Tomasz Jozwiak <[email protected]>

Acked-by: Pablo de Lara <[email protected]>

Reply via email to