From: "Zhao, XinfengX" <xinfengx.zhao@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1 1/3] tests: add 3DES and null cases for cryptodev ipsec-gw test
Date: Tue, 27 Aug 2019 04:29:06 +0000 [thread overview]
Message-ID: <44051B25D8C8784BB77FFB604D6A70CA1207F05C@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <1566850668-339181-1-git-send-email-xinfengx.zhao@intel.com>
Tested-by: Zhao, XinfengX <xinfengx.zhao@intel.com>
-----Original Message-----
From: Zhao, XinfengX
Sent: Tuesday, August 27, 2019 4:18 AM
To: dts@dpdk.org
Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
Subject: [dts][PATCH V1 1/3] tests: add 3DES and null cases for cryptodev ipsec-gw test
Signed-off-by: Xinfeng Zhao <xinfengx.zhao@intel.com>
---
tests/TestSuite_ipsec_gw_cryptodev_func.py | 146 +++++++++++++++++++++
1 file changed, 146 insertions(+)
diff --git a/tests/TestSuite_ipsec_gw_cryptodev_func.py b/tests/TestSuite_ipsec_gw_cryptodev_func.py
index dafb085..901df6c 100644
--- a/tests/TestSuite_ipsec_gw_cryptodev_func.py
+++ b/tests/TestSuite_ipsec_gw_cryptodev_func.py
@@ -242,6 +242,19 @@ class TestIPsecGW(TestCase):
result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
self.verify(result, "FAIL")
+ def test_qat_null_ipv4_transport(self):
+ if cc.is_test_skip(self):
+ return
+
+ self.logger.info("Test qat_null_ipv4_transport")
+ self.pcap_filename = "test_qat_null_ipv4_transport"
+ ipsec_gw_opt_str = self._get_ipsec_gw_opt_str()
+ self.logger.debug(ipsec_gw_opt_str)
+
+ result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
+ self.verify(result, "FAIL")
+
+
def test_qat_aes_128_cbc_ipv6_tunnel(self):
if cc.is_test_skip(self):
return
@@ -332,6 +345,67 @@ class TestIPsecGW(TestCase):
result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
self.verify(result, "FAIL")
+ def test_qat_null_ipv6_transport(self):
+ if cc.is_test_skip(self):
+ return
+
+ self.logger.info("Test qat_null_ipv6_transport")
+ self.pcap_filename = "test_qat_null_ipv6_transport"
+ ipsec_gw_opt_str = self._get_ipsec_gw_opt_str()
+ self.logger.debug(ipsec_gw_opt_str)
+
+ result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
+ self.verify(result, "FAIL")
+
+
+ def test_qat_3des_cbc_ipv4_tunnel(self):
+ if cc.is_test_skip(self):
+ return
+
+ self.logger.info("Test qat_3des_cbc_ipv4_tunnel")
+ self.pcap_filename = "test_qat_3des_cbc_ipv4_tunnel"
+ ipsec_gw_opt_str = self._get_ipsec_gw_opt_str()
+ self.logger.debug(ipsec_gw_opt_str)
+
+ result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
+ self.verify(result, "FAIL")
+
+ def test_qat_3des_cbc_ipv6_tunnel(self):
+ if cc.is_test_skip(self):
+ return
+
+ self.logger.info("Test qat_3des_cbc_ipv6_tunnel")
+ self.pcap_filename = "test_qat_3des_cbc_ipv6_tunnel"
+ ipsec_gw_opt_str = self._get_ipsec_gw_opt_str()
+ self.logger.debug(ipsec_gw_opt_str)
+
+ result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
+ self.verify(result, "FAIL")
+
+ def test_qat_3des_cbc_ipv4_transport(self):
+ if cc.is_test_skip(self):
+ return
+
+ self.logger.info("Test qat_3des_cbc_ipv4_transport")
+ self.pcap_filename = "test_qat_3des_cbc_ipv4_transport"
+ ipsec_gw_opt_str = self._get_ipsec_gw_opt_str()
+ self.logger.debug(ipsec_gw_opt_str)
+
+ result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
+ self.verify(result, "FAIL")
+
+ def test_qat_3des_cbc_ipv6_transport(self):
+ if cc.is_test_skip(self):
+ return
+
+ self.logger.info("Test qat_3des_cbc_ipv6_transport")
+ self.pcap_filename = "test_qat_3des_cbc_ipv6_transport"
+ ipsec_gw_opt_str = self._get_ipsec_gw_opt_str()
+ self.logger.debug(ipsec_gw_opt_str)
+
+ result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
+ self.verify(result, "FAIL")
+
def test_sw_aes_128_cbc_ipv4_tunnel(self):
if cc.is_test_skip(self):
return
@@ -421,6 +495,18 @@ class TestIPsecGW(TestCase):
result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
self.verify(result, "FAIL")
+ def test_sw_null_ipv4_transport(self):
+ if cc.is_test_skip(self):
+ return
+
+ self.logger.info("Test sw_null_ipv4_transport")
+ self.pcap_filename = "test_sw_null_ipv4_transport"
+ ipsec_gw_opt_str = self._get_ipsec_gw_opt_str()
+ self.logger.debug(ipsec_gw_opt_str)
+
+ result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
+ self.verify(result, "FAIL")
+
def test_sw_aes_128_cbc_ipv6_tunnel(self):
if cc.is_test_skip(self):
return
@@ -511,6 +597,18 @@ class TestIPsecGW(TestCase):
result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
self.verify(result, "FAIL")
+ def test_sw_null_ipv6_transport(self):
+ if cc.is_test_skip(self):
+ return
+
+ self.logger.info("Test sw_null_ipv6_transport")
+ self.pcap_filename = "test_sw_null_ipv6_transport"
+ ipsec_gw_opt_str = self._get_ipsec_gw_opt_str()
+ self.logger.debug(ipsec_gw_opt_str)
+
+ result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
+ self.verify(result, "FAIL")
+
def test_sw_aes_128_ctr_ipv4_tunnel(self):
if cc.is_test_skip(self):
return
@@ -559,6 +657,54 @@ class TestIPsecGW(TestCase):
result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
self.verify(result, "FAIL")
+ def test_sw_3des_cbc_ipv4_tunnel(self):
+ if cc.is_test_skip(self):
+ return
+
+ self.logger.info("Test sw_3des_cbc_ipv4_tunnel")
+ self.pcap_filename = "test_sw_3des_cbc_ipv4_tunnel"
+ ipsec_gw_opt_str = self._get_ipsec_gw_opt_str()
+ self.logger.debug(ipsec_gw_opt_str)
+
+ result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
+ self.verify(result, "FAIL")
+
+ def test_sw_3des_cbc_ipv6_tunnel(self):
+ if cc.is_test_skip(self):
+ return
+
+ self.logger.info("Test sw_3des_cbc_ipv6_tunnel")
+ self.pcap_filename = "test_sw_3des_cbc_ipv6_tunnel"
+ ipsec_gw_opt_str = self._get_ipsec_gw_opt_str()
+ self.logger.debug(ipsec_gw_opt_str)
+
+ result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
+ self.verify(result, "FAIL")
+
+ def test_sw_3des_cbc_ipv4_transport(self):
+ if cc.is_test_skip(self):
+ return
+
+ self.logger.info("Test sw_3des_cbc_ipv4_transport")
+ self.pcap_filename = "test_sw_3des_cbc_ipv4_transport"
+ ipsec_gw_opt_str = self._get_ipsec_gw_opt_str()
+ self.logger.debug(ipsec_gw_opt_str)
+
+ result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
+ self.verify(result, "FAIL")
+
+ def test_sw_3des_cbc_ipv6_transport(self):
+ if cc.is_test_skip(self):
+ return
+
+ self.logger.info("Test sw_3des_cbc_ipv6_transport")
+ self.pcap_filename = "test_sw_3des_cbc_ipv6_transport"
+ ipsec_gw_opt_str = self._get_ipsec_gw_opt_str()
+ self.logger.debug(ipsec_gw_opt_str)
+
+ result = self._execute_ipsec_gw_test(ipsec_gw_opt_str)
+ self.verify(result, "FAIL")
+
def _get_ipsec_gw_opt_str(self, override_ipsec_gw_opts={}):
return cc.get_opt_str(self, self._default_ipsec_gw_opts,
override_ipsec_gw_opts)
--
2.17.1
next prev parent reply other threads:[~2019-08-27 4:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-26 20:17 Xinfeng Zhao
2019-08-26 20:17 ` [dts] [PATCH V1 2/3] conf: modify conf file " Xinfeng Zhao
2019-08-26 20:17 ` [dts] [PATCH V1 3/3] tests: make ipsec lib work in " Xinfeng Zhao
2019-08-27 4:29 ` Zhao, XinfengX [this message]
2019-09-04 5:08 ` [dts] [PATCH V1 1/3] tests: add 3DES and null cases for " Tu, Lijuan
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=44051B25D8C8784BB77FFB604D6A70CA1207F05C@shsmsx102.ccr.corp.intel.com \
--to=xinfengx.zhao@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).