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 E6EBEA0487 for ; Wed, 3 Jul 2019 07:52:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DCB6B5587; Wed, 3 Jul 2019 07:52:47 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 285A737AF for ; Wed, 3 Jul 2019 07:52:44 +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 orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jul 2019 22:52:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,446,1557212400"; d="scan'208";a="157859534" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga008.jf.intel.com with ESMTP; 02 Jul 2019 22:52:43 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jul 2019 22:52:43 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 2 Jul 2019 22:52:42 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 2 Jul 2019 22:52:42 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.134]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.240]) with mapi id 14.03.0439.000; Wed, 3 Jul 2019 13:52:40 +0800 From: "Tu, Lijuan" 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/B1LDt0JkILakOBm1oVJ22zU6a4ZyeA Date: Wed, 3 Jul 2019 05:52:40 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAD928F@SHSMSX101.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: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzk1MGUxZDktMzlhMS00ZmNiLThhMTAtZTJkYWEzNGU1NDRhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUHZmWnY1WU51V2xPWmdzZ1Y2K21sV3NkeStNN2w1MndPUE42a3pTek9SR3Z6ZzRvcTA3TmFYbmJoajllb2VoYiJ9 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" Applied, thanks > -----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. >=20 > Add support Nic: > twinpond, > twinville, > sageville, > sagepond, > springville >=20 > Signed-off-by: zhu,shuai > --- > tests/TestSuite_uni_pkt.py | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py inde= x > 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_UNKNO= WN"] > - elif "niantic" in self.nic.lower() or "powerville" in self.nic.l= ower() or > "cavium" in self.nic.lower(): > + elif "niantic" in self.nic.lower() or "powerville" in self.nic.l= ower() or > "cavium" in self.nic.lower() or "twinpond" in self.nic.lower() or "twinvi= lle" in > self.nic.lower() or "sageville" in self.nic.lower() or "sagepond" 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.l= ower() or > "cavium" in self.nic.lower(): > + elif "niantic" in self.nic.lower() or "powerville" in self.nic.l= ower() or > "cavium" in self.nic.lower() or "twinpond" in self.nic.lower() or "twinvi= lle" in > self.nic.lower() or "sageville" in self.nic.lower() or "sagepond" 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_UNKNO= WN"] > - elif "niantic" in self.nic.lower() or "powerville" in self.nic.l= ower() or > "cavium" in self.nic.lower(): > + elif "niantic" in self.nic.lower() or "powerville" in self.nic.l= ower() or > "cavium" in self.nic.lower() or "twinpond" in self.nic.lower() or "twinvi= lle" in > self.nic.lower() or "sageville" in self.nic.lower() or "sagepond" 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.l= ower() or > "cavium" in self.nic.lower(): > + elif "niantic" in self.nic.lower() or "powerville" in self.nic.l= ower() or > "cavium" in self.nic.lower() or "twinpond" in self.nic.lower() or "twinvi= lle" in > self.nic.lower() or "sageville" in self.nic.lower() or "sagepond" in > self.nic.lower() or "springville" in self.nic.lower(): > pktType.pop("MAC_IPv6FRAG_PKT_F") >=20 > self.run_test(pktType) > -- > 2.17.2