DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] app/test-crypto-perf: fix index
@ 2018-01-23 11:54 Fan Zhang
  2018-01-23 14:22 ` [dpdk-dev] [PATCH v2] " Fan Zhang
  0 siblings, 1 reply; 4+ messages in thread
From: Fan Zhang @ 2018-01-23 11:54 UTC (permalink / raw)
  To: dev; +Cc: pablo.de.lara.guarch

Fixes: 27c2e7471961 ("app/crypto-perf: support IMIX")

A bug caused index out-of-range error. This simple patch is to fix
this.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
---
 app/test-crypto-perf/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c
index 83a9d7b73..6d850af03 100644
--- a/app/test-crypto-perf/main.c
+++ b/app/test-crypto-perf/main.c
@@ -585,7 +585,7 @@ main(int argc, char **argv)
 				cdev_id = enabled_cdevs[i];
 
 				rte_eal_remote_launch(cperf_testmap[opts.test].runner,
-					ctx[cdev_id], lcore_id);
+					ctx[i], lcore_id);
 				i++;
 			}
 			i = 0;
-- 
2.13.6

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-01-23 15:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-23 11:54 [dpdk-dev] [PATCH] app/test-crypto-perf: fix index Fan Zhang
2018-01-23 14:22 ` [dpdk-dev] [PATCH v2] " Fan Zhang
2018-01-23 15:28   ` De Lara Guarch, Pablo
2018-01-23 15:39     ` De Lara Guarch, Pablo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).