git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: update NFP guide
[dpdk.git]
/
app
/
test-crypto-perf
/
main.c
diff --git
a/app/test-crypto-perf/main.c
b/app/test-crypto-perf/main.c
index
83a9d7b
..
019d835
100644
(file)
--- a/
app/test-crypto-perf/main.c
+++ b/
app/test-crypto-perf/main.c
@@
-579,19
+579,17
@@
main(int argc, char **argv)
i = 0;
RTE_LCORE_FOREACH_SLAVE(lcore_id) {
i = 0;
RTE_LCORE_FOREACH_SLAVE(lcore_id) {
- if (i ==
nb_cryptodev
s)
+ if (i ==
total_nb_qp
s)
break;
break;
- cdev_id = enabled_cdevs[i];
-
rte_eal_remote_launch(cperf_testmap[opts.test].runner,
rte_eal_remote_launch(cperf_testmap[opts.test].runner,
- ctx[
cdev_id
], lcore_id);
+ ctx[
i
], lcore_id);
i++;
}
i = 0;
RTE_LCORE_FOREACH_SLAVE(lcore_id) {
i++;
}
i = 0;
RTE_LCORE_FOREACH_SLAVE(lcore_id) {
- if (i ==
nb_cryptodev
s)
+ if (i ==
total_nb_qp
s)
break;
rte_eal_wait_lcore(lcore_id);
i++;
break;
rte_eal_wait_lcore(lcore_id);
i++;
@@
-634,8
+632,6
@@
err:
if (i == total_nb_qps)
break;
if (i == total_nb_qps)
break;
- cdev_id = enabled_cdevs[i];
-
if (ctx[i] && cperf_testmap[opts.test].destructor)
cperf_testmap[opts.test].destructor(ctx[i]);
i++;
if (ctx[i] && cperf_testmap[opts.test].destructor)
cperf_testmap[opts.test].destructor(ctx[i]);
i++;