From b52709e7f32d2de4c7234fecd4bb6c4cbe3a6d71 Mon Sep 17 00:00:00 2001 From: Srisivasubramanian S Date: Fri, 14 Jul 2017 11:13:07 +0530 Subject: [PATCH] test/crypto-perf: fix ARMv8 session creation Session was NULL as test_crypto_session not initialised. Fixes: b3bbd9e5f265 ("cryptodev: support device independent sessions") Signed-off-by: Srisivasubramanian S --- test/test/test_cryptodev_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/test_cryptodev_perf.c b/test/test/test_cryptodev_perf.c index 8cddaa74f6..8febd1a203 100644 --- a/test/test/test_cryptodev_perf.c +++ b/test/test/test_cryptodev_perf.c @@ -2950,7 +2950,7 @@ test_perf_create_armv8_session(uint8_t dev_id, enum chain_mode chain, auth_xform.auth.digest_length = get_auth_digest_length(auth_algo); - rte_cryptodev_sym_session_create(ts_params->sess_mp); + test_crypto_session = rte_cryptodev_sym_session_create(ts_params->sess_mp); switch (chain) { case CIPHER_HASH: -- 2.20.1