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:
parent
26351696ff
commit
fd52587380
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user