From: gangx.yang@intel.com
To: dts@dpdk.org
Cc: Gang Yang <gangx.yang@intel.com>
Subject: [dts] [PATCH V2 1/2]test-crypto-perf:Add crypto performance auto test code
Date: Tue, 14 Mar 2017 15:24:27 +0800 [thread overview]
Message-ID: <1489476268-371053-2-git-send-email-gangx.yang@intel.com> (raw)
In-Reply-To: <1489476268-371053-1-git-send-email-gangx.yang@intel.com>
From: Gang Yang <gangx.yang@intel.com>
* delete unserviceable lib
* update invalid cipher-op for aes-gcm algorithm
Signed-off-by: Gang Yang <gangx.yang@intel.com>
---
tests/TestSuite_crypto_perf.py | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/tests/TestSuite_crypto_perf.py b/tests/TestSuite_crypto_perf.py
index aaf79fe..e6f6c2e 100755
--- a/tests/TestSuite_crypto_perf.py
+++ b/tests/TestSuite_crypto_perf.py
@@ -42,8 +42,6 @@ import copy
import time
import random
from test_case import TestCase
-sys.path.append("/root")
-from CryptoMobile.CM import *
class TestL2fwdCrypto(TestCase):
@@ -439,7 +437,6 @@ class TestL2fwdCrypto(TestCase):
else:
map_combine[temp_str] = len(test_vector_list)
for k,v in alg_map.iteritems():
-
self.logger.info("Total {name} cases:\t\t\t{number}".format(name=k,number=v))
for k,v in pmd_map.iteritems():
self.logger.info("Total {name} cases:\t\t\t{number}".format(name=k,number=v))
@@ -489,7 +486,9 @@ class TestL2fwdCrypto(TestCase):
value_data_list = data_list.split(";")
if length == count :
data_finished = True
- latency = latency + self.__buffer_size_result_check(value_data_list[1],value_data_list[5],value_data_list[4],data_finished)
+ latency = latency + self.__buffer_size_result_check( \
+ value_data_list[1],value_data_list[5], \
+ value_data_list[4],data_finished)
latency = latency + "\n"
return latency
@@ -1075,7 +1074,7 @@ test_vectors = {
"ptest": ["throughput","latency"],
"optype": ["aead"],
"cipher-algo": ["aes-gcm"],
- "cipher-op": ["aead"],
+ "cipher-op": ["encrypt", "decrypt"],
"cipher-key-sz": [16, 24, 32],
"cipher-iv-sz": [16],
"auth-algo": ["aes-gcm","aes-gmac","md5-hmac", "sha1-hmac", "sha2-224-hmac", "sha2-256-hmac",
--
2.5.5
next prev parent reply other threads:[~2017-03-14 7:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-14 7:24 [dts] [PATCH V2 0/2]test-crypto-perf: Add crypto performance auto test code and test plain gangx.yang
2017-03-14 7:24 ` gangx.yang [this message]
2017-03-14 7:24 ` [dts] [PATCH V2 2/2]test-crypto-perf:add crypto performance test plan gangx.yang
2017-03-16 2:25 [dts] [PATCH V2 0/2]test-crypto-perf: Add crypto performance auto test code and test plain gangx.yang
2017-03-16 2:25 ` [dts] [PATCH V2 1/2]test-crypto-perf:Add crypto performance auto test code gangx.yang
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=1489476268-371053-2-git-send-email-gangx.yang@intel.com \
--to=gangx.yang@intel.com \
--cc=dts@dpdk.org \
/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).