app/crypto-perf: fix display once detection
authorTomasz Jozwiak <tjozwiakgm@gmail.com>
Fri, 14 Jun 2019 22:28:35 +0000 (00:28 +0200)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 5 Jul 2019 13:28:14 +0000 (15:28 +0200)
commit90e03347ca7d6d1a0e1b85d71d71ec5ae3b17a90
treefdc160f5746b2678ee78a704fb39e810ad73902e
parent44e97702095218e5c9d2bb8da0596d527f069f35
app/crypto-perf: fix display once detection

This patch changes 'only_once' variable to 'display_once',
which should be atomic type due to fact, that all runner functions
can be executed in paraller way on different lcores.

Fixes: df52cb3b6e13 ("app/crypto-perf: move verify as single test type")
Cc: stable@dpdk.org
Signed-off-by: Tomasz Jozwiak <tjozwiakgm@gmail.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
app/test-crypto-perf/cperf_test_latency.c
app/test-crypto-perf/cperf_test_pmd_cyclecount.c
app/test-crypto-perf/cperf_test_throughput.c
app/test-crypto-perf/cperf_test_verify.c