patches for DPDK stable branches
 help / color / 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, back to index

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

patches for DPDK stable branches

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ http://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/ public-inbox