patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 3/6] test/event_crypto: fix to avail the mempool entries
       [not found] <20191001113339.21767-1-hemant.agrawal@nxp.com>
@ 2019-10-01 11:33 ` Hemant Agrawal
  0 siblings, 0 replies; only message in thread
From: Hemant Agrawal @ 2019-10-01 11:33 UTC (permalink / raw)
  To: dev; +Cc: jerinj, abhinandan.gujjar, stable

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>
---
The file location has been changed, thus check-git-log is giving err on
this patch
 app/test/test_event_crypto_adapter.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/test/test_event_crypto_adapter.c b/app/test/test_event_crypto_adapter.c
index d3d19b98e..8d42462d8 100644
--- a/app/test/test_event_crypto_adapter.c
+++ b/app/test/test_event_crypto_adapter.c
@@ -905,6 +905,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;
 	}
-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-01 11:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20191001113339.21767-1-hemant.agrawal@nxp.com>
2019-10-01 11:33 ` [dpdk-stable] [PATCH 3/6] test/event_crypto: fix to avail the mempool entries Hemant Agrawal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).