From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 01E38A0613 for ; Tue, 27 Aug 2019 06:29:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ED1C11C036; Tue, 27 Aug 2019 06:29:12 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 986901C035 for ; Tue, 27 Aug 2019 06:29:10 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Aug 2019 21:29:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,435,1559545200"; d="scan'208";a="180090790" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga008.fm.intel.com with ESMTP; 26 Aug 2019 21:29:09 -0700 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 26 Aug 2019 21:29:09 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 26 Aug 2019 21:29:08 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.19]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.65]) with mapi id 14.03.0439.000; Tue, 27 Aug 2019 12:29:07 +0800 From: "Zhao, XinfengX" To: "dts@dpdk.org" Thread-Topic: [dts][PATCH V1 1/3] tests: add 3DES and null cases for cryptodev ipsec-gw test Thread-Index: AQHVXI/ZlKJT1cxNp0uaC+pGBx9x4qcOZsWw Date: Tue, 27 Aug 2019 04:29:06 +0000 Message-ID: <44051B25D8C8784BB77FFB604D6A70CA1207F05C@shsmsx102.ccr.corp.intel.com> References: <1566850668-339181-1-git-send-email-xinfengx.zhao@intel.com> In-Reply-To: <1566850668-339181-1-git-send-email-xinfengx.zhao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1 1/3] tests: add 3DES and null cases for cryptodev ipsec-gw test X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Tested-by: Zhao, XinfengX -----Original Message----- From: Zhao, XinfengX=20 Sent: Tuesday, August 27, 2019 4:18 AM To: dts@dpdk.org Cc: Zhao, XinfengX Subject: [dts][PATCH V1 1/3] tests: add 3DES and null cases for cryptodev i= psec-gw test Signed-off-by: Xinfeng Zhao --- 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_i= psec_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 =3D self._execute_ipsec_gw_test(ipsec_gw_opt_str) self.verify(result, "FAIL") =20 + 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 =3D "test_qat_null_ipv4_transport" + ipsec_gw_opt_str =3D self._get_ipsec_gw_opt_str() + self.logger.debug(ipsec_gw_opt_str) + + result =3D 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 =3D self._execute_ipsec_gw_test(ipsec_gw_opt_str) self.verify(result, "FAIL") =20 + 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 =3D "test_qat_null_ipv6_transport" + ipsec_gw_opt_str =3D self._get_ipsec_gw_opt_str() + self.logger.debug(ipsec_gw_opt_str) + + result =3D 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 =3D "test_qat_3des_cbc_ipv4_tunnel" + ipsec_gw_opt_str =3D self._get_ipsec_gw_opt_str() + self.logger.debug(ipsec_gw_opt_str) + + result =3D 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 =3D "test_qat_3des_cbc_ipv6_tunnel" + ipsec_gw_opt_str =3D self._get_ipsec_gw_opt_str() + self.logger.debug(ipsec_gw_opt_str) + + result =3D 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 =3D "test_qat_3des_cbc_ipv4_transport" + ipsec_gw_opt_str =3D self._get_ipsec_gw_opt_str() + self.logger.debug(ipsec_gw_opt_str) + + result =3D 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 =3D "test_qat_3des_cbc_ipv6_transport" + ipsec_gw_opt_str =3D self._get_ipsec_gw_opt_str() + self.logger.debug(ipsec_gw_opt_str) + + result =3D 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 =3D self._execute_ipsec_gw_test(ipsec_gw_opt_str) self.verify(result, "FAIL") =20 + 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 =3D "test_sw_null_ipv4_transport" + ipsec_gw_opt_str =3D self._get_ipsec_gw_opt_str() + self.logger.debug(ipsec_gw_opt_str) + + result =3D 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 =3D self._execute_ipsec_gw_test(ipsec_gw_opt_str) self.verify(result, "FAIL") =20 + 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 =3D "test_sw_null_ipv6_transport" + ipsec_gw_opt_str =3D self._get_ipsec_gw_opt_str() + self.logger.debug(ipsec_gw_opt_str) + + result =3D 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 =3D self._execute_ipsec_gw_test(ipsec_gw_opt_str) self.verify(result, "FAIL") =20 + 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 =3D "test_sw_3des_cbc_ipv4_tunnel" + ipsec_gw_opt_str =3D self._get_ipsec_gw_opt_str() + self.logger.debug(ipsec_gw_opt_str) + + result =3D 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 =3D "test_sw_3des_cbc_ipv6_tunnel" + ipsec_gw_opt_str =3D self._get_ipsec_gw_opt_str() + self.logger.debug(ipsec_gw_opt_str) + + result =3D 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 =3D "test_sw_3des_cbc_ipv4_transport" + ipsec_gw_opt_str =3D self._get_ipsec_gw_opt_str() + self.logger.debug(ipsec_gw_opt_str) + + result =3D 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 =3D "test_sw_3des_cbc_ipv6_transport" + ipsec_gw_opt_str =3D self._get_ipsec_gw_opt_str() + self.logger.debug(ipsec_gw_opt_str) + + result =3D self._execute_ipsec_gw_test(ipsec_gw_opt_str) + self.verify(result, "FAIL") + def _get_ipsec_gw_opt_str(self, override_ipsec_gw_opts=3D{}): return cc.get_opt_str(self, self._default_ipsec_gw_opts, override_ipsec_gw_opts) --=20 2.17.1