app/crypto-perf: fix latency CSV output
authorCiara Power <ciara.power@intel.com>
Wed, 20 Jan 2021 17:29:28 +0000 (17:29 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 27 Jan 2021 18:03:52 +0000 (19:03 +0100)
The csv output for the latency performance test had an extra header,
"Packet Size", which is a duplicate of "Buffer Size", and had no
corresponding value in the output. This is now removed.

Fixes: f6cefe253cc8 ("app/crypto-perf: add range/list of sizes")
Cc: stable@dpdk.org
Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
Acked-by: Adam Dybkowski <adamx.dybkowski@intel.com>
app/test-crypto-perf/cperf_test_latency.c

index 0e4d0e1..c2590a4 100644 (file)
@@ -310,7 +310,7 @@ cperf_latency_test_runner(void *arg)
                if (ctx->options->csv) {
                        if (rte_atomic16_test_and_set(&display_once))
                                printf("\n# lcore, Buffer Size, Burst Size, Pakt Seq #, "
-                                               "Packet Size, cycles, time (us)");
+                                               "cycles, time (us)");
 
                        for (i = 0; i < ctx->options->total_ops; i++) {