From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fan Zhang Subject: [PATCH] app/test-crypto-perf: fix index Date: Tue, 23 Jan 2018 11:54:25 +0000 Message-ID: <20180123115425.38549-1-roy.fan.zhang@intel.com> Cc: pablo.de.lara.guarch@intel.com To: dev@dpdk.org Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id C706C1B01F for ; Tue, 23 Jan 2018 12:58:43 +0100 (CET) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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