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
app/crypto-perf: fix operation free
[dpdk.git]
/
app
/
test-crypto-perf
/
cperf_test_latency.c
diff --git
a/app/test-crypto-perf/cperf_test_latency.c
b/app/test-crypto-perf/cperf_test_latency.c
index
7e610d9
..
58b21ab
100644
(file)
--- a/
app/test-crypto-perf/cperf_test_latency.c
+++ b/
app/test-crypto-perf/cperf_test_latency.c
@@
-433,7
+433,7
@@
cperf_latency_test_runner(void *arg)
/* Free memory for not enqueued operations */
if (ops_enqd != burst_size)
rte_mempool_put_bulk(ctx->crypto_op_pool,
- (void **)&ops
_processed
[ops_enqd],
+ (void **)&ops[ops_enqd],
burst_size - ops_enqd);
for (i = 0; i < ops_enqd; i++) {