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 59BD9A0561; Mon, 20 Apr 2020 06:55:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 446141C1DC; Mon, 20 Apr 2020 06:55:17 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 037C71C1D9 for ; Mon, 20 Apr 2020 06:55:15 +0200 (CEST) IronPort-SDR: qGiqrHbSC0HyrxM8PbEqQ3btzG6HzMYf2KSjtf34t26ttR3Mk6WfSQRdfqMc7QKxrwkWRaHmAW 5eBq04r3zN6g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2020 21:55:14 -0700 IronPort-SDR: g1OIbt3KaHxTnZ2bHsc6ejdCch2zJtV+4e7R0jqagE+Wx4lsVZ9sehkKW28aulj8bSVKC/2LLW MPVTPb4CjDlw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,405,1580803200"; d="scan'208";a="289965719" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 19 Apr 2020 21:55:14 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Apr 2020 21:55:14 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Apr 2020 21:55:14 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.191]) with mapi id 14.03.0439.000; Mon, 20 Apr 2020 12:55:11 +0800 From: "Tu, Lijuan" To: "Xu, HailinX" , "dts@dpdk.org" CC: "Xu, HailinX" Thread-Topic: [dts] [PATCH v1] tests/TestSuite_rss_to_rte_flow.py:support carlsville nic. Thread-Index: AQHWEU0gUK5EVMrrNEOefvv3ebMJlqiBfRUQ Date: Mon, 20 Apr 2020 04:55:11 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0CFF1@SHSMSX101.ccr.corp.intel.com> References: <1586752145-122996-1-git-send-email-hailinx.xu@intel.com> In-Reply-To: <1586752145-122996-1-git-send-email-hailinx.xu@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="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH v1] tests/TestSuite_rss_to_rte_flow.py:support carlsville nic. 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 failed, please rework, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xu Hailin > Sent: Monday, April 13, 2020 12:29 PM > To: dts@dpdk.org > Cc: Xu, HailinX > Subject: [dts] [PATCH v1] tests/TestSuite_rss_to_rte_flow.py:support > carlsville nic. >=20 > From: "xu,hailin" >=20 > Add carlsville nic Judge conditions,The operation is the same as FVL. >=20 > Signed-off-by: xu,hailin > --- > tests/TestSuite_rss_to_rte_flow.py | 22 +++++++++++----------- > 1 file changed, 11 insertions(+), 11 deletions(-) >=20 > diff --git a/tests/TestSuite_rss_to_rte_flow.py > b/tests/TestSuite_rss_to_rte_flow.py > index 593d694..7ce9a92 100644 > --- a/tests/TestSuite_rss_to_rte_flow.py > +++ b/tests/TestSuite_rss_to_rte_flow.py > @@ -176,7 +176,7 @@ class TestRSS_to_Rteflow(TestCase): >=20 > # Show port default RSS functions > if (self.nic in ["fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TLV", "for= tville_25g"]): > + "fortville_spirit_single", "fortpark_TLV", "for= tville_25g", > "carlsville"]): > self.dut.send_expect( > "show port 0 rss-hash", "ipv4-frag ipv4-other ipv6-frag = ipv6-other > ip") > else: > @@ -202,7 +202,7 @@ class TestRSS_to_Rteflow(TestCase): > self.dut.send_expect( > "flow create 0 ingress pattern end actions rss types all end= / end", > "created") > if (self.nic in ["fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TLV", "for= tville_25g"]): > + "fortville_spirit_single", "fortpark_TLV", "for= tville_25g", > "carlsville"]): > self.dut.send_expect( > "show port 0 rss-hash", "all ipv4-frag ipv4-tcp ipv4-udp= ipv4-sctp > ipv4-other ipv6-frag ipv6-tcp ipv6-udp ipv6-sctp ipv6-other l2-payload ip= udp > tcp sctp") > else: > @@ -225,7 +225,7 @@ class TestRSS_to_Rteflow(TestCase): >=20 > # Show port default RSS fucntions > if (self.nic in ["fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TLV", "for= tville_25g"]): > + "fortville_spirit_single", "fortpark_TLV", "for= tville_25g", > "carlsville"]): > self.dut.send_expect( > "show port 0 rss-hash", "ipv4-frag ipv4-other ipv6-frag = ipv6-other > ip") > else: > @@ -239,7 +239,7 @@ class TestRSS_to_Rteflow(TestCase): > self.send_packet("ipv4-udp", self.tester_itf) > out =3D self.dut.send_expect("stop", "testpmd> ", 120) > if (self.nic in ["fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TLV", "for= tville_25g"]): > + "fortville_spirit_single", "fortpark_TLV", "for= tville_25g", > "carlsville"]): > self.check_packet_queue("0", out) > else: > self.check_packet_queue("all", out) @@ -277,7 +277,7 @@ clas= s > TestRSS_to_Rteflow(TestCase): > # ipv4-other and ipv6-other is enabled by default. > # i40e > if (self.nic in ["fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TLV", "for= tville_25g"]): > + "fortville_spirit_single", "fortpark_TLV", "for= tville_25g", > "carlsville"]): > rss_queue =3D ["1", "4", "7"] > self.send_and_check(self.pkt4, rss_queue) > self.send_and_check(self.pkt8, rss_queue) @@ -310,7 +310,7 @= @ > class TestRSS_to_Rteflow(TestCase): > "flow create 0 ingress pattern end actions rss queues 3 end = / end", > "created") > # Send the packets and verify the results > if (self.nic in ["fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TLV", "for= tville_25g"]): > + "fortville_spirit_single", "fortpark_TLV", "for= tville_25g", > "carlsville"]): > rss_queue =3D ["3"] > self.send_and_check(self.pkt4, rss_queue) > self.send_and_check(self.pkt8, rss_queue) @@ -355,7 +355,7 @= @ > class TestRSS_to_Rteflow(TestCase): > "flow create 0 ingress pattern end actions rss types udp ipv= 4-tcp ipv6- > sctp ipv4-other end queues 1 4 7 end / end", "created") > # send the packets and verify the results > if (self.nic in ["fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TLV", "for= tville_25g"]): > + "fortville_spirit_single", "fortpark_TLV", "for= tville_25g", > "carlsville"]): > rss_queue =3D ["1", "4", "7"] > self.send_and_check(self.pkt2, rss_queue) > self.send_and_check(self.pkt3, rss_queue) @@ -493,7 +493,7 @= @ > class TestRSS_to_Rteflow(TestCase): > "flow create 0 ingress pattern end actions rss types ipv6-tc= p ipv4-udp > sctp ipv6-other end queues 5 6 7 end / end", "created") > # send the packets and verify the results > if (self.nic in ["fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TLV", "for= tville_25g"]): > + "fortville_spirit_single", "fortpark_TLV", "for= tville_25g", > "carlsille"]): > rss_queue =3D ["5", "6", "7"] > self.send_and_check(self.pkt1, rss_queue) > self.send_and_check(self.pkt2, rss_queue) @@ -569,7 +569,7 @= @ > class TestRSS_to_Rteflow(TestCase): > Set RSS queue rule with queue region API. > """ > self.verify(self.nic in ["fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TL= V", "fortville_25g"], > "NIC Unsupported: " + str(self.nic)) > + "fortville_spirit_single", > + "fortpark_TLV", "fortville_25g", "carlsville"], "NIC Unsupported: " + > + str(self.nic)) > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D16 --txq= =3D16 --port- > topology=3Dchained") > self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) > self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -613,= 7 > +613,7 @@ class TestRSS_to_Rteflow(TestCase): > Set RSS queue rule with invalid parameter in queue region API. > """ > self.verify(self.nic in ["fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TL= V", "fortville_25g"], > "NIC Unsupported: " + str(self.nic)) > + "fortville_spirit_single", > + "fortpark_TLV", "fortville_25g", "carlsville"], "NIC Unsupported: " + > + str(self.nic)) > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D16 --txq= =3D16 --port- > topology=3Dchained") > self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) > self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -639,= 7 > +639,7 @@ class TestRSS_to_Rteflow(TestCase): > The queue region is priority to RSS queue rule. > """ > self.verify(self.nic in ["fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TL= V", "fortville_25g"], > "NIC Unsupported: " + str(self.nic)) > + "fortville_spirit_single", > + "fortpark_TLV", "fortville_25g", "carlsville"], "NIC Unsupported: " + > + str(self.nic)) > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D16 --txq= =3D16 --port- > topology=3Dchained") > self.dut.send_expect("port config all rss all", "testpmd> ", 120= ) > self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) > -- > 1.8.3.1