DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] test/crypto: fix ARMV8 crypto performance test application
@ 2017-07-14  5:43 Srisivasubramanian S
  2017-07-14 14:59 ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 2+ messages in thread
From: Srisivasubramanian S @ 2017-07-14  5:43 UTC (permalink / raw)
  To: declan.doherty, jerin.jacob, zbigniew.bodek; +Cc: dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-14 14:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-14  5:43 [dpdk-dev] [PATCH] test/crypto: fix ARMV8 crypto performance test application Srisivasubramanian S
2017-07-14 14:59 ` De Lara Guarch, Pablo

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).