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 out-of-place mempool allocation
[dpdk.git]
/
app
/
test-crypto-perf
/
cperf_test_common.c
diff --git
a/app/test-crypto-perf/cperf_test_common.c
b/app/test-crypto-perf/cperf_test_common.c
index
058e0ba
..
12925c7
100644
(file)
--- a/
app/test-crypto-perf/cperf_test_common.c
+++ b/
app/test-crypto-perf/cperf_test_common.c
@@
-194,7
+194,7
@@
cperf_alloc_common_memory(const struct cperf_options *options,
(mbuf_size * segments_nb);
params.dst_buf_offset = *dst_buf_offset;
/* Destination buffer will be one segment only */
- obj_size += max_size;
+ obj_size += max_size
+ sizeof(struct rte_mbuf)
;
}
*pool = rte_mempool_create_empty(pool_name,