app/test-crypto-perf: fix index
PATCH 1/1 app/test-crypto-perf: fix index
A bug caused index out-of-range error. This simple patch is to fix this.
--- app/test-crypto-perf/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
app/test-crypto-perf/main.c +1 -1
@@ -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 ;
Signature · 1 line
2.13.6
PATCH v2 1/1 app/test-crypto-perf: fix index
A bug caused index out-of-range error. This simple patch is to fix this.
---
v2:
Removed unnecessary cdev_id assignment line.
app/test-crypto-perf/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
app/test-crypto-perf/main.c +1 -3
@@ -582,10 +582,8 @@ main(int argc, char **argv)if (i == nb_cryptodevs)break ; - 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 ;
Signature · 1 line
2.13.6
Quoted 9 lines
-----Original Message-----
From: Zhang, Roy Fan
Sent: Tuesday, January 23, 2018 2:23 PM
To: [email protected]
Cc: De Lara Guarch, Pablo <[email protected]>
Subject: [PATCH v2] app/test-crypto-perf: fix index
Quoted 5 lines
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 <[email protected]>
De Lara Guarch, Pablo
AppliedQuoted 18 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of De Lara Guarch, Pablo
Sent: Tuesday, January 23, 2018 3:29 PM
To: Zhang, Roy Fan <[email protected]>; [email protected]
Subject: Re: [dpdk-dev] [PATCH v2] app/test-crypto-perf: fix indexQuoted 7 lines
-----Original Message-----
From: Zhang, Roy Fan
Sent: Tuesday, January 23, 2018 2:23 PM
To: [email protected]
Cc: De Lara Guarch, Pablo <[email protected]>
Subject: [PATCH v2] app/test-crypto-perf: fix index
Quoted 7 lines
Quoted 5 lines
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 <[email protected]>Acked-by Pablo de Lara <[email protected]>
Applied to dpdk-next-crypto.
Thanks,
Pablo