summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHemant Agrawal <hemant.agrawal@nxp.com>2019-09-27 13:46:04 +0530
committerJerin Jacob <jerinj@marvell.com>2019-10-05 15:39:31 +0200
commitfd5258738092654f9d6a4659e791d4f344ef9224 (patch)
treefe35a71f11db49e413ff6d2e5982cda311e46f83 /app
parent26351696ffe7e01bf423d904f14ee2e7dc461c87 (diff)
downloaddpdk-fd5258738092654f9d6a4659e791d4f344ef9224.zip
dpdk-fd5258738092654f9d6a4659e791d4f344ef9224.tar.gz
dpdk-fd5258738092654f9d6a4659e791d4f344ef9224.tar.xz
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 <hemant.agrawal@nxp.com> Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
Diffstat (limited to 'app')
-rw-r--r--app/test/test_event_crypto_adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/test/test_event_crypto_adapter.c b/app/test/test_event_crypto_adapter.c
index ed8a58d..c7cdfe5 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,