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
use SPDX tag for 6WIND copyrighted files
[dpdk.git]
/
app
/
test-crypto-perf
/
cperf_test_pmd_cyclecount.c
diff --git
a/app/test-crypto-perf/cperf_test_pmd_cyclecount.c
b/app/test-crypto-perf/cperf_test_pmd_cyclecount.c
index
8f76160
..
c8d16db
100644
(file)
--- a/
app/test-crypto-perf/cperf_test_pmd_cyclecount.c
+++ b/
app/test-crypto-perf/cperf_test_pmd_cyclecount.c
@@
-145,7
+145,7
@@
pmd_cyclecount_bench_ops(struct pmd_cyclecount_state *state, uint32_t cur_op,
for (cur_iter_op = 0; cur_iter_op < iter_ops_needed;
cur_iter_op += test_burst_size) {
for (cur_iter_op = 0; cur_iter_op < iter_ops_needed;
cur_iter_op += test_burst_size) {
- uint32_t burst_size = RTE_MIN(
state->opts->total_ops - cu
r_op,
+ uint32_t burst_size = RTE_MIN(
iter_ops_needed - cur_ite
r_op,
test_burst_size);
struct rte_crypto_op **ops = &state->ctx->ops[cur_iter_op];
test_burst_size);
struct rte_crypto_op **ops = &state->ctx->ops[cur_iter_op];