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 E7D1CA0518; Fri, 24 Jul 2020 03:44:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A503F1C012; Fri, 24 Jul 2020 03:44:07 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id CC0171BFE7 for ; Fri, 24 Jul 2020 03:44:05 +0200 (CEST) IronPort-SDR: J9DAJ4R7a6myOUm8mWUo6ojaJW2YR5jIttEOmIJ6ZHwYm9kb313s9iAUUK9J3FqTSzfTk0/vM9 rEum01luzBmA== X-IronPort-AV: E=McAfee;i="6000,8403,9691"; a="235524849" X-IronPort-AV: E=Sophos;i="5.75,388,1589266800"; d="scan'208";a="235524849" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2020 18:44:04 -0700 IronPort-SDR: 2Z4wiqk7QrPLFqY00c3h6PsdgkkZaNpigFb11ZPJhmVs65UokwAXIcoiUecg2/tZsl1ZhrTOi2 K1vHscLI2ung== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,388,1589266800"; d="scan'208";a="363226364" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga001.jf.intel.com with ESMTP; 23 Jul 2020 18:44:04 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 23 Jul 2020 18:44:04 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 23 Jul 2020 18:44:03 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.22]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.22]) with mapi id 14.03.0439.000; Fri, 24 Jul 2020 09:44:02 +0800 From: "Tu, Lijuan" To: "Chen, LingliX" , "dts@dpdk.org" CC: "Chen, LingliX" Thread-Topic: [dts] [PATCH V1] tests/TestSuite_rss_to_rte_flow:Support of network adapter for foxville Thread-Index: AQHWVDOgiE90AknD4k+jpcs6L9cBW6kWD2Hw Date: Fri, 24 Jul 2020 01:44:01 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC83EDB@SHSMSX101.ccr.corp.intel.com> References: <20200707075206.19672-1-linglix.chen@intel.com> In-Reply-To: <20200707075206.19672-1-linglix.chen@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.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/TestSuite_rss_to_rte_flow:Support of network adapter for foxville 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 On Behalf Of Chen Linglix > Sent: 2020=1B$BG/=1B(B7=1B$B7n=1B(B7=1B$BF|=1B(B 15:52 > To: dts@dpdk.org > Cc: Chen, LingliX > Subject: [dts] [PATCH V1] tests/TestSuite_rss_to_rte_flow:Support of netw= ork > adapter for foxville >=20 > From: chenlinglix >=20 > add foxville support case >=20 > Signed-off-by: chenlinglix > --- > conf/test_case_supportlist.json | 15 ++++++++++----- > tests/TestSuite_rss_to_rte_flow.py | 32 ++++++++++++++++---------------- > 2 files changed, 26 insertions(+), 21 deletions(-) >=20 > diff --git a/conf/test_case_supportlist.json b/conf/test_case_supportlist= .json > index 496f0af..a9cb7a6 100644 > --- a/conf/test_case_supportlist.json > +++ b/conf/test_case_supportlist.json > @@ -2090,7 +2090,8 @@ > "sageville", > "sagepond", > "springville", > - "powerville" > + "powerville", > + "foxville" > ], > "Target": [ > "ALL" > @@ -2134,7 +2135,8 @@ > "sageville", > "sagepond", > "springville", > - "powerville" > + "powerville", > + "foxville" > ], > "Target": [ > "ALL" > @@ -2156,7 +2158,8 @@ > "sageville", > "sagepond", > "springville", > - "powerville" > + "powerville", > + "foxville" > ], > "Target": [ > "ALL" > @@ -2178,7 +2181,8 @@ > "sageville", > "sagepond", > "springville", > - "powerville" > + "powerville", > + "foxville" > ], > "Target": [ > "ALL" > @@ -2200,7 +2204,8 @@ > "sageville", > "sagepond", > "springville", > - "powerville" > + "powerville", > + "foxville" > ], > "Target": [ > "ALL" > diff --git a/tests/TestSuite_rss_to_rte_flow.py > b/tests/TestSuite_rss_to_rte_flow.py > index 21ba8dc..756a0b5 100644 > --- a/tests/TestSuite_rss_to_rte_flow.py > +++ b/tests/TestSuite_rss_to_rte_flow.py > @@ -897,7 +897,7 @@ class TestRSS_to_Rteflow(TestCase): > """ > self.verify(self.nic not in ["fortville_eagle", "fortville_spiri= t", "carlsville", > "fortville_spirit_single", "fortpark_TL= V", > "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) > - if self.nic =3D=3D 'springville': > + if self.nic in ["foxville", "springville"]: > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D4 --tx= q=3D4 --port- > topology=3Dchained") > else: > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D8 --tx= q=3D8 --port- > topology=3Dchained") @@ -907,7 +907,7 @@ class > TestRSS_to_Rteflow(TestCase): > time.sleep(2) >=20 > # Create a rss queue rule > - if self.nic =3D=3D 'springville': > + if self.nic in ["foxville", "springville"]: > self.dut.send_expect( > "flow create 0 ingress pattern end actions rss queues 1 = 2 end / end", > "created") > else: > @@ -915,7 +915,7 @@ class TestRSS_to_Rteflow(TestCase): > "flow create 0 ingress pattern end actions rss queues 1 = 4 7 end / end", > "created") > # send the packets and verify the results > ptype_list1 =3D ["ipv4-other", "ipv4-frag", "ipv4-udp", "ipv4-tc= p", "ipv4-sctp", > "ipv6-other", "ipv6-frag", "ipv6-udp", "ipv6-tcp", "ipv6-sctp"] > - if self.nic =3D=3D 'springville': > + if self.nic in ["foxville", "springville"]: > self.send_check_100_packet_queue(ptype_list1, ["1", "2"], po= rt_id=3D0) > else: > self.send_check_100_packet_queue(ptype_list1, ["1","4","7"],= port_id=3D0) > @@ -940,7 +940,7 @@ class TestRSS_to_Rteflow(TestCase): > self.dut.send_expect( > "flow create 0 ingress pattern end actions rss queues 8 end = / end", > "error") > # Set all the queues to the rule > - if self.nic =3D=3D 'springville': > + if self.nic in ["foxville", "springville"]: > self.dut.send_expect( > "flow create 0 ingress pattern end actions rss queues 0 = 1 2 3 end / end", > "created") > else: > @@ -954,7 +954,7 @@ class TestRSS_to_Rteflow(TestCase): > """ > self.verify(self.nic not in ["fortville_eagle", "fortville_spiri= t", "carlsville", > "fortville_spirit_single", "fortpark_TL= V", > "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) > - if self.nic =3D=3D 'springville': > + if self.nic in ["foxville", "springville"]: > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D4 --tx= q=3D4 --port- > topology=3Dchained") > else: > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D8 --tx= q=3D8 --port- > topology=3Dchained") @@ -964,7 +964,7 @@ class > TestRSS_to_Rteflow(TestCase): > time.sleep(2) >=20 > # Create a rss queue rule > - if self.nic =3D=3D 'springville': > + if self.nic in ["foxville", "springville"]: > self.dut.send_expect( > "flow create 0 ingress pattern end actions rss types udp= ipv4-tcp ipv6- > sctp ipv4-other end queues 1 2 3 end / end","created") > else: > @@ -978,7 +978,7 @@ class TestRSS_to_Rteflow(TestCase): > # send the packets and verify the results > if(self.nic in ["cavium_a063", "cavium_a064"]): > self.send_check_100_packet_queue(ptype_list1, ["1","4","7"],= port_id=3D0) > - elif self.nic =3D=3D 'springville': > + elif self.nic in ["foxville", "springville"]: > self.send_check_100_packet_queue(ptype_list1, ["1", "2", "3"= ], > port_id=3D0) > self.send_check_100_packet_queue(ptype_list2, "0", port_id= =3D0) > else: > @@ -988,7 +988,7 @@ class TestRSS_to_Rteflow(TestCase): > # Create different ptype rss rule. > self.dut.send_expect("flow flush 0", "testpmd> ") >=20 > - if self.nic =3D=3D 'springville': > + if self.nic in ["foxville", "springville"]: > self.dut.send_expect( > "flow create 0 ingress pattern end actions rss types ipv= 4 ipv6 end > queues 1 3 end / end", "created") > else: > @@ -997,7 +997,7 @@ class TestRSS_to_Rteflow(TestCase): > self.dut.send_expect( > "show port 0 rss-hash", "all ipv4 ipv6 ip") > ptype_list3 =3D ["ipv4-other", "ipv4-frag", "ipv4-udp", "ipv4-tc= p", "ipv4-sctp", > "ipv6-other", "ipv6-frag", "ipv6-udp", "ipv6-tcp", "ipv6-sctp"] > - if self.nic =3D=3D 'springville': > + if self.nic in ["foxville", "springville"]: > self.send_check_100_packet_queue(ptype_list3, ["1", "3"], po= rt_id=3D0) > else: > self.send_check_100_packet_queue(ptype_list3, ["3","7"], por= t_id=3D0) > @@ -1008,7 +1008,7 @@ class TestRSS_to_Rteflow(TestCase): > """ > self.verify(self.nic not in ["fortville_eagle", "fortville_spiri= t", "carlsville", > "fortville_spirit_single", "fortpark_TL= V", > "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) > - if self.nic =3D=3D 'springville': > + if self.nic in ["foxville", "springville"]: > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D4 --tx= q=3D4 --disable- > rss --port-topology=3Dchained") > else: > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D8 --tx= q=3D8 --disable- > rss --port-topology=3Dchained") @@ -1030,7 +1030,7 @@ class > TestRSS_to_Rteflow(TestCase): > self.send_check_100_packet_queue(ptype_list1, "0", port_id=3D0) >=20 > # Create a rss queue rule > - if self.nic =3D=3D 'springville': > + if self.nic in ["foxville", "springville"]: > self.dut.send_expect( > "flow create 0 ingress pattern end actions rss types ipv= 6-tcp ipv4-udp > end queues 1 2 3 end / end", "created") > else: > @@ -1042,7 +1042,7 @@ class TestRSS_to_Rteflow(TestCase): > # send the packets and verify the results > ptype_list2 =3D ["ipv4-udp", "ipv6-tcp"] > ptype_list3 =3D ["ipv4-other", "ipv4-frag", "ipv4-tcp", "ipv4-sc= tp", "ipv6-other", > "ipv6-frag", "ipv6-udp", "ipv6-sctp"] > - if self.nic =3D=3D 'springville': > + if self.nic in ["foxville", "springville"]: > self.send_check_100_packet_queue(ptype_list2, ["1", "2", "3"= ], > port_id=3D0) > else: > self.send_check_100_packet_queue(ptype_list2, ["5","6","7"],= port_id=3D0) > @@ -1054,7 +1054,7 @@ class TestRSS_to_Rteflow(TestCase): > """ > self.verify(self.nic not in ["fortville_eagle", "fortville_spiri= t", "carlsville", > "fortville_spirit_single", "fortpark_TL= V", > "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: " + str(self.nic)) > - if self.nic =3D=3D 'springville': > + if self.nic in ["foxville", "springville"]: > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D4 --tx= q=3D4 --disable- > rss --port-topology=3Dchained") > else: > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D8 --tx= q=3D8 --pkt- > filter-mode=3Dperfect") @@ -1064,7 +1064,7 @@ class > TestRSS_to_Rteflow(TestCase): > time.sleep(2) >=20 > # Create a rss queue rule > - if self.nic =3D=3D 'springville': > + if self.nic in ["foxville", "springville"]: > self.dut.send_expect( > "flow create 0 ingress pattern end actions rss types ipv= 4-udp end > queues 2 3 end / end", "created") > self.send_and_check(self.pkt2, ["2", "3"], port_id=3D0) @@ -= 1074,7 > +1074,7 @@ class TestRSS_to_Rteflow(TestCase): > self.send_and_check(self.pkt2, ["3", "4", "5"], port_id=3D0) >=20 > # Create a flow director rule > - if (self.nic in ["bartonhills", "powerville" , "springville"]): > + if (self.nic in ["bartonhills", "powerville" , "springville","fo= xville"]): > self.dut.send_expect( > "flow create 0 ingress pattern eth / ipv4 proto is 17 / = udp dst is 50 / end > actions queue index 1 / end", "created") > self.send_and_check(self.pkt2, ["1"], port_id=3D0) @@ -1084,= 7 +1084,7 > @@ class TestRSS_to_Rteflow(TestCase): > self.send_and_check(self.pkt2, ["1"], port_id=3D0) > # Delete the fdir rule > self.dut.send_expect("flow destroy 0 rule 1", "testpmd> ") > - if self.nic =3D=3D 'springville': > + if self.nic in ["foxville", "springville"]: > self.send_and_check(self.pkt2, ["2", "3"], port_id=3D0) > else: > self.send_and_check(self.pkt2, ["3", "4", "5"], port_id=3D0) > -- > 1.8.3.1