From: Hemant Agrawal Date: Fri, 27 Sep 2019 08:16:04 +0000 (+0530) Subject: test/event_crypto: fix mempool name X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=fd5258738092654f9d6a4659e791d4f344ef9224;p=dpdk.git test/event_crypto: fix mempool name 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 Acked-by: Abhinandan Gujjar --- diff --git a/app/test/test_event_crypto_adapter.c b/app/test/test_event_crypto_adapter.c index ed8a58d32b..c7cdfe594a 100644 --- a/app/test/test_event_crypto_adapter.c +++ b/app/test/test_event_crypto_adapter.c @@ -541,7 +541,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,