From: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>
To: declan.doherty@intel.com, jerin.jacob@caviumnetworks.com,
zbigniew.bodek@caviumnetworks.com
Cc: dev@dpdk.org
Subject: [dpdk-dev] [PATCH] test/crypto: fix ARMV8 crypto performance test application
Date: Fri, 14 Jul 2017 11:13:07 +0530 [thread overview]
Message-ID: <1500010987-20719-1-git-send-email-ssrinivasan@caviumnetworks.com> (raw)
Session was null as test_crypto_session not initialised.
Fixes: b3bbd9e5f265 ("cryptodev: support device independent sessions")
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>
---
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 8cddaa7..8febd1a 100644
--- a/test/test/test_cryptodev_perf.c
+++ b/test/test/test_cryptodev_perf.c
@@ -2950,7 +2950,7 @@ static uint32_t get_aead_digest_length(enum rte_crypto_aead_algorithm algo)
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:
--
1.8.1.4
next reply other threads:[~2017-07-14 5:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-14 5:43 Srisivasubramanian S [this message]
2017-07-14 14:59 ` De Lara Guarch, Pablo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1500010987-20719-1-git-send-email-ssrinivasan@caviumnetworks.com \
--to=ssrinivasan@caviumnetworks.com \
--cc=declan.doherty@intel.com \
--cc=dev@dpdk.org \
--cc=jerin.jacob@caviumnetworks.com \
--cc=zbigniew.bodek@caviumnetworks.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).