summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSrisivasubramanian S <ssrinivasan@caviumnetworks.com>2017-07-14 11:13:07 +0530
committerPablo de Lara <pablo.de.lara.guarch@intel.com>2017-07-19 14:10:41 +0300
commitb52709e7f32d2de4c7234fecd4bb6c4cbe3a6d71 (patch)
tree792d06c00f8a8e2660b432d67f6d278147ba5784 /test
parentf42f43140e64198c92802aa3d084020d18773bac (diff)
downloaddpdk-b52709e7f32d2de4c7234fecd4bb6c4cbe3a6d71.zip
dpdk-b52709e7f32d2de4c7234fecd4bb6c4cbe3a6d71.tar.gz
dpdk-b52709e7f32d2de4c7234fecd4bb6c4cbe3a6d71.tar.xz
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 <ssrinivasan@caviumnetworks.com>
Diffstat (limited to 'test')
-rw-r--r--test/test/test_cryptodev_perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test/test_cryptodev_perf.c b/test/test/test_cryptodev_perf.c
index 8cddaa7..8febd1a 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: