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 8067EA0487 for ; Mon, 1 Jul 2019 11:42:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4565F2C23; Mon, 1 Jul 2019 11:42:26 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 1F050235 for ; Mon, 1 Jul 2019 11:42:24 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jul 2019 02:42:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,438,1557212400"; d="scan'208";a="157242284" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga008.jf.intel.com with ESMTP; 01 Jul 2019 02:42:23 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 1 Jul 2019 02:42:23 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 1 Jul 2019 02:42:22 -0700 Received: from shsmsx106.ccr.corp.intel.com ([169.254.10.240]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.134]) with mapi id 14.03.0439.000; Mon, 1 Jul 2019 17:42:21 +0800 From: "Yao, BingX Y" To: "Zhu, ShuaiX" , "dts@dpdk.org" CC: "Zhu, ShuaiX" Thread-Topic: [dts] [PATCH V1] tests/uni_pkt:Add support Nic in uin_pkt. Thread-Index: AQHVL/B1iCoJsJqvyEeHtltKrL+sVKa1gpHQ Date: Mon, 1 Jul 2019 09:42:20 +0000 Message-ID: <95BCD24840F32441BEA74E0F8A31839E058F37F8@SHSMSX106.ccr.corp.intel.com> References: <1561974047-116516-1-git-send-email-shuaix.zhu@intel.com> In-Reply-To: <1561974047-116516-1-git-send-email-shuaix.zhu@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] tests/uni_pkt:Add support Nic in uin_pkt. 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: Yao, BingX Y -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai Sent: Monday, July 1, 2019 5:41 PM To: dts@dpdk.org Cc: Zhu, ShuaiX Subject: [dts] [PATCH V1] tests/uni_pkt:Add support Nic in uin_pkt. Add support Nic: twinpond, twinville, sageville, sagepond, springville Signed-off-by: zhu,shuai --- tests/TestSuite_uni_pkt.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py index = 5d09fc1..2b60320 100644 --- a/tests/TestSuite_uni_pkt.py +++ b/tests/TestSuite_uni_pkt.py @@ -118,7 +118,7 @@ class TestUniPacket(TestCase): if "fortville" in self.nic or "fortpark_TLV" in self.nic: outerL4Type =3D "L4_NONFRAG" ipv4_default_packet_type =3D ["L2_ETHER", "L3_IPV4_EXT_UNKNOWN= "] - elif "niantic" in self.nic.lower() or "powerville" in self.nic.low= er() or "cavium" in self.nic.lower(): + elif "niantic" in self.nic.lower() or "powerville" in self.nic.low= er() or "cavium" in self.nic.lower() or "twinpond" in self.nic.lower() or "= twinville" in self.nic.lower() or "sageville" in self.nic.lower() or "sagep= ond" in self.nic.lower() or "springville" in self.nic.lower(): outerL4Type =3D "" ipv4_default_packet_type =3D ["L2_ETHER", "L3_IPV4"] pktType =3D { @@ -136,7 +136,7 @@ class TestUniPacket(TestCase): if "fortville" in self.nic or "fortpark_TLV" in self.nic: pktType.pop("MAC_IPihl_PKT") pktType.pop("MAC_IPihl_SCTP_PKT") - elif "niantic" in self.nic.lower() or "powerville" in self.nic.low= er() or "cavium" in self.nic.lower(): + elif "niantic" in self.nic.lower() or "powerville" in self.nic.low= er() or "cavium" in self.nic.lower() or "twinpond" in self.nic.lower() or "= twinville" in self.nic.lower() or "sageville" in self.nic.lower() or "sagep= ond" in self.nic.lower() or "springville" in self.nic.lower(): pktType.pop("MAC_IP_ICMP_PKT") pktType.pop("MAC_IPFRAG_TCP_PKT") =20 @@ -149,7 +149,7 @@ class TestUniPacket(TestCase): if "fortville" in self.nic or "fortpark_TLV" in self.nic: outerL4Type =3D "L4_NONFRAG" ipv6_default_packet_type =3D ["L2_ETHER", "L3_IPV6_EXT_UNKNOWN= "] - elif "niantic" in self.nic.lower() or "powerville" in self.nic.low= er() or "cavium" in self.nic.lower(): + elif "niantic" in self.nic.lower() or "powerville" in self.nic.low= er() or "cavium" in self.nic.lower() or "twinpond" in self.nic.lower() or "= twinville" in self.nic.lower() or "sageville" in self.nic.lower() or "sagep= ond" in self.nic.lower() or "springville" in self.nic.lower(): outerL4Type =3D "" ipv6_default_packet_type =3D ["L2_ETHER", "L3_IPV6"] =20 @@ -164,7 +164,7 @@ class TestUniPacket(TestCase): # delete the unsupported packet based on nic type if "fortville" in self.nic or "fortpark_TLV" in self.nic: pktType.pop("MAC_IPv6FRAG_PKT_N") - elif "niantic" in self.nic.lower() or "powerville" in self.nic.low= er() or "cavium" in self.nic.lower(): + elif "niantic" in self.nic.lower() or "powerville" in self.nic.low= er() or "cavium" in self.nic.lower() or "twinpond" in self.nic.lower() or "= twinville" in self.nic.lower() or "sageville" in self.nic.lower() or "sagep= ond" in self.nic.lower() or "springville" in self.nic.lower(): pktType.pop("MAC_IPv6FRAG_PKT_F") =20 self.run_test(pktType) -- 2.17.2