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 CE459A00C2; Thu, 23 Apr 2020 07:43:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C50601BEE1; Thu, 23 Apr 2020 07:43:33 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 44F9C1BE9D for ; Thu, 23 Apr 2020 07:43:32 +0200 (CEST) IronPort-SDR: 1VJAVU3FNf34f0bgpGlXLXHUEGW75uEmPFPQ8Nk1ujeAnOBdY+8CjypGCdzGYV4MAX0pLkAPvR MKX3S1suH3qA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 22:43:30 -0700 IronPort-SDR: L9KUDYit1GCvM4Oc8HgBIWq+BuSGrU50vCULR0wGm8zAKps6mgzJq17Cp9OhF5g5U6Z1fMT90x x2j/xqVihnlw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,305,1583222400"; d="scan'208";a="301125153" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by FMSMGA003.fm.intel.com with ESMTP; 22 Apr 2020 22:43:30 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 22:42:39 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 22:42:39 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.7]) with mapi id 14.03.0439.000; Thu, 23 Apr 2020 13:42:36 +0800 From: "Tu, Lijuan" To: "Xu, HailinX" , "dts@dpdk.org" CC: "Xu, HailinX" Thread-Topic: [dts] [PATCH v2] tests/TestSuite_rss_to_rte_flow:add nic carlsville Thread-Index: AQHWF7siPJ+LDoD0/0u6TUpp7sVph6iGNH1w Date: Thu, 23 Apr 2020 05:42:36 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0F0C0@SHSMSX101.ccr.corp.intel.com> References: <1587459016-262318-1-git-send-email-hailinx.xu@intel.com> In-Reply-To: <1587459016-262318-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 v2] tests/TestSuite_rss_to_rte_flow:add nic carlsville 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 Xu, Hailin > Sent: Tuesday, April 21, 2020 4:50 PM > To: dts@dpdk.org > Cc: Xu, HailinX > Subject: [dts] [PATCH v2] tests/TestSuite_rss_to_rte_flow:add nic carlsvi= lle >=20 > From: "xu,hailin" >=20 > carlsville driver is i40e, so the nic support the suite. >=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 be2c72e..a6375d0 100644 > --- a/tests/TestSuite_rss_to_rte_flow.py > +++ b/tests/TestSuite_rss_to_rte_flow.py > @@ -175,7 +175,7 @@ class TestRSS_to_Rteflow(TestCase): > time.sleep(2) >=20 > # Show port default RSS functions > - if (self.nic in ["fortville_eagle", "fortville_spirit", > + if (self.nic in ["fortville_eagle", "fortville_spirit", > + "carlsville", > "fortville_spirit_single", "fortpark_TLV","fort= park_BASE-T", > "fortville_25g"]): > self.dut.send_expect( > "show port 0 rss-hash", "ipv4-frag ipv4-other ipv6-frag = ipv6-other > ip") @@ -203,7 +203,7 @@ class TestRSS_to_Rteflow(TestCase): > # Enable RSS hash function all > 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", > + if (self.nic in ["fortville_eagle", "fortville_spirit", > + "carlsville", > "fortville_spirit_single", "fortpark_TLV","fort= park_BASE-T", > "fortville_25g"]): > 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") @@ -226,7 +226,7 @@ class TestRSS_to_Rteflow(TestCase): > time.sleep(2) >=20 > # Show port default RSS fucntions > - if (self.nic in ["fortville_eagle", "fortville_spirit", > + if (self.nic in ["fortville_eagle", "fortville_spirit","carlsvil= le" > "fortville_spirit_single", "fortpark_TLV","fort= park_BASE-T", > "fortville_25g"]): > self.dut.send_expect( > "show port 0 rss-hash", "ipv4-frag ipv4-other ipv6-frag = ipv6-other > ip") @@ -240,7 +240,7 @@ class TestRSS_to_Rteflow(TestCase): >=20 > 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", > + if (self.nic in ["fortville_eagle", "fortville_spirit","carlsvil= le" > "fortville_spirit_single", "fortpark_TLV","fort= park_BASE-T", > "fortville_25g"]): > self.check_packet_queue("0", out) > else: > @@ -286,7 +286,7 @@ class TestRSS_to_Rteflow(TestCase): > # ipv4-other and ipv6-other is enabled by default. > # i40e > rss_queue =3D ["1", "4", "7"] > - if (self.nic in ["fortville_eagle", "fortville_spirit", > + if (self.nic in ["fortville_eagle", "fortville_spirit", "carlsvi= lle" > "fortville_spirit_single", "fortpark_TLV","fort= park_BASE-T", > "fortville_25g"]): > self.send_and_check(self.pkt4, rss_queue) > self.send_and_check(self.pkt8, rss_queue) @@ -319,7 +319,7 @= @ > class TestRSS_to_Rteflow(TestCase): > self.dut.send_expect( > "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", > + if (self.nic in ["fortville_eagle", > + "fortville_spirit","carlsville", > "fortville_spirit_single", "fortpark_TLV","fort= park_BASE-T", > "fortville_25g"]): > rss_queue =3D ["3"] > self.send_and_check(self.pkt4, rss_queue) @@ -376,7 +376,7 @= @ > class TestRSS_to_Rteflow(TestCase): >=20 > # send the packets and verify the results > rss_queue =3D ["1", "4", "7"] > - if (self.nic in ["fortville_eagle", "fortville_spirit", > + if (self.nic in ["fortville_eagle", "fortville_spirit", > + "carlsville", > "fortville_spirit_single", "fortpark_TLV","fort= park_BASE-T", > "fortville_25g"]): > self.send_and_check(self.pkt2, rss_queue) > self.send_and_check(self.pkt3, rss_queue) @@ -416,7 +416,7 @= @ > class TestRSS_to_Rteflow(TestCase): > Set key and key_len. > """ > # Only supported by i40e > - self.verify(self.nic in ["fortville_eagle", "fortville_spirit", > + self.verify(self.nic in ["fortville_eagle", "fortville_spirit", = "carlsville" > "fortville_spirit_single", "fortpark_TL= V","fortpark_BASE-T", > "fortville_25g"], "NIC Unsupported: " + str(self.nic)) > pkt1 =3D "Ether(dst=3D'%s')/IP(src=3D'0.0.0.0',dst=3D'4.0.0.0')/= UDP(sport=3D100, > dport=3D200)/('X'*48)" % self.pf_mac > pkt2 =3D "Ether(dst=3D'%s')/IP(src=3D'0.0.0.0',dst=3D'4.0.0.0')/= UDP(sport=3D100, > dport=3D201)/('X'*48)" % self.pf_mac @@ -522,7 +522,7 @@ class > TestRSS_to_Rteflow(TestCase): > "flow create 0 ingress pattern end actions rss types ipv6-t= cp > ipv4-udp sctp ipv6-other end queues 5 6 7 end / end", "created") > # send the packets and verify the results > rss_queue =3D ["5", "6", "7"] > - if (self.nic in ["fortville_eagle", "fortville_spirit", > + if (self.nic in ["fortville_eagle", "fortville_spirit", > + "carlsville", > "fortville_spirit_single", "fortpark_TLV","fort= park_BASE-T", > "fortville_25g"]): > self.send_and_check(self.pkt1, rss_queue) > self.send_and_check(self.pkt2, rss_queue) @@ -648,7 +648,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","fortpark_BASE-T", > "fortville_25g"], "NIC Unsupported: " + str(self.nic)) > + "fortville_spirit_single", > + "fortpark_TLV","fortpark_BASE-T", "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) @@ -673,= 7 > +673,7 @@ class TestRSS_to_Rteflow(TestCase): > Set RSS queue rule with old API, while setting RSS queue rule. > The queue region is priority to RSS queue rule. > """ > - self.verify(self.nic in ["fortville_eagle", "fortville_spirit", > + self.verify(self.nic in ["fortville_eagle", "fortville_spirit", > + "carlsville", > "fortville_spirit_single", "fortpark_TL= V","fortpark_BASE-T", > "fortville_25g"], "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= ) > -- > 1.8.3.1