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: 24054e3640 ("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>
This commit is contained in:
Hemant Agrawal 2019-09-27 13:46:04 +05:30 committed by Jerin Jacob
parent 26351696ff
commit fd52587380

View File

@ -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,