From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DA86FA0613 for ; Fri, 27 Sep 2019 10:18:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ABE722C23; Fri, 27 Sep 2019 10:18:31 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id 97A5B1E34; Fri, 27 Sep 2019 10:18:25 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 753201A0651; Fri, 27 Sep 2019 10:18:25 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 47CBF1A0647; Fri, 27 Sep 2019 10:18:23 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 256EB4029A; Fri, 27 Sep 2019 16:18:20 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, abhinandan.gujjar@intel.com Cc: stable@dpdk.org, Hemant Agrawal Date: Fri, 27 Sep 2019 13:46:04 +0530 Message-Id: <20190927081606.22931-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-stable] [PATCH] test/event_crypto: fix mempool name X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" The longer mempool name size is causing error in rte_mempool_create_empty for dpaa1 ret = snprintf(mz_name, sizeof(mz_name), RTE_MEMPOOL_MZ_FORMAT, name); This patch reduce the size of mempool name string Fixes: 24054e3640a2 ("test/crypto: use separate session mempools") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- app/test/test_event_crypto_adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_event_crypto_adapter.c b/app/test/test_event_crypto_adapter.c index 73655020d..cff7ad61f 100644 --- a/app/test/test_event_crypto_adapter.c +++ b/app/test/test_event_crypto_adapter.c @@ -536,7 +536,7 @@ configure_cryptodev(void) "session mempool allocation failed\n"); params.session_priv_mpool = rte_mempool_create( - "CRYPTO_ADAPTER_SESSION_MP_PRIV", + "CRYPTO_AD_SESS_MP_PRIV", MAX_NB_SESSIONS, session_size, 0, 0, NULL, NULL, NULL, -- 2.17.1