numam-dpdk/app
Feifei Wang 50959a8993 test/ring: fix statistics in bulk enq/dequeue
In size 32 bulk ring enq/dequeue performance test, the "Total count"
statistics is incorrect. For example, running the test on lcore 25 and
lcore 26, the output is as follows:

The test command:
$sudo ./arm64-armv8a-linuxapp-gcc/app/test -l 25-26
RTE>>ring_perf_autotest

Bulk enq/dequeue count on size 32
Core [25] count = 288268
Core [26] count = 288281
Total count (size: 32): 1066323

Fixed it by reset the counter at the beginning of each loop. The
revised output is as follows:

Bulk enq/dequeue count on size 32
Core [25] count = 285643
Core [26] count = 285688
Total count (size: 32): 571331

Fixes: 759cf9b563 ("test/ring: enhance mp/mc coverage")
Cc: stable@dpdk.org

Signed-off-by: Feifei Wang <feifei.wang2@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2020-07-01 10:41:19 +02:00
..
pdump app: fix usage help of options separated by dashes 2020-04-25 21:56:18 +02:00
proc-info app/procinfo: use strlcpy for copying string 2019-10-27 11:33:24 +01:00
test test/ring: fix statistics in bulk enq/dequeue 2020-07-01 10:41:19 +02:00
test-acl app: fix usage help of options separated by dashes 2020-04-25 21:56:18 +02:00
test-bbdev baseband/fpga_5gnr_fec: add configure function 2020-04-19 22:34:26 +02:00
test-cmdline replace unused attributes 2020-04-16 18:30:58 +02:00
test-compress-perf build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
test-crypto-perf app/crypto-perf: fix display of sample test vector 2020-05-11 13:17:43 +02:00
test-eventdev app/eventdev: check Tx adapter service ID 2020-05-14 15:16:37 +02:00
test-fib app/fib: fix parsing of invalid line 2020-05-19 19:25:30 +02:00
test-flow-perf app/flow-perf: use macro for cache alignment 2020-06-30 11:57:46 +02:00
test-pipeline replace unused attributes 2020-04-16 18:30:58 +02:00
test-pmd app/testpmd: fix error detection in MTU command 2020-06-16 19:21:07 +02:00
test-sad build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
Makefile app/flow-perf: add flow performance skeleton 2020-06-29 15:47:36 +02:00
meson.build app/flow-perf: add flow performance skeleton 2020-06-29 15:47:36 +02:00