From: Srisivasubramanian S Date: Fri, 14 Jul 2017 05:43:07 +0000 (+0530) Subject: test/crypto-perf: fix ARMv8 session creation X-Git-Tag: spdx-start~2405 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b52709e7f32d2de4c7234fecd4bb6c4cbe3a6d71;p=dpdk.git 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 --- 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: