git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18d934c
)
test/event_crypto: fix to avail mempool entries
author
Hemant Agrawal
<hemant.agrawal@nxp.com>
Thu, 7 Nov 2019 09:01:20 +0000
(14:31 +0530)
committer
Jerin Jacob
<jerinj@marvell.com>
Tue, 26 Nov 2019 06:49:31 +0000
(07:49 +0100)
Added the missed code to avail the mempool entries before
pool free.
Fixes:
24054e3640a2
("test/crypto: use separate session mempools")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
app/test/test_event_crypto_adapter.c
patch
|
blob
|
history
diff --git
a/app/test/test_event_crypto_adapter.c
b/app/test/test_event_crypto_adapter.c
index
bf83a63
..
6b47a5c
100644
(file)
--- a/
app/test/test_event_crypto_adapter.c
+++ b/
app/test/test_event_crypto_adapter.c
@@
-889,6
+889,7
@@
crypto_teardown(void)
params.session_mpool = NULL;
}
if (params.session_priv_mpool != NULL) {
+ rte_mempool_avail_count(params.session_priv_mpool);
rte_mempool_free(params.session_priv_mpool);
params.session_priv_mpool = NULL;
}