From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id DF3452C2F for ; Thu, 1 Nov 2018 09:30:50 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Nov 2018 01:30:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,451,1534834800"; d="scan'208";a="104367164" Received: from dts-maintain.sh.intel.com (HELO [10.67.119.110]) ([10.67.119.110]) by fmsmga001.fm.intel.com with ESMTP; 01 Nov 2018 01:30:48 -0700 To: wenjieli , dts@dpdk.org References: <1539854692-12078-1-git-send-email-wenjiex.a.li@intel.com> From: Lijuan Tu Message-ID: Date: Fri, 2 Nov 2018 00:58:44 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1539854692-12078-1-git-send-email-wenjiex.a.li@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Subject: Re: [dts] [PATCH V1] tests/rss_to_rte_flow: add fortville_25g 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: , X-List-Received-Date: Thu, 01 Nov 2018 08:30:51 -0000 Applied, thanks On 2018年10月18日 17:24, wenjieli wrote: > From test plan, rss_to_rte_flow could support all fortville NIC, so add fortville_25g > into test script. > > Signed-off-by: wenjieli > --- > tests/TestSuite_rss_to_rte_flow.py | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/tests/TestSuite_rss_to_rte_flow.py b/tests/TestSuite_rss_to_rte_flow.py > index 2b2ac48..b504f01 100644 > --- a/tests/TestSuite_rss_to_rte_flow.py > +++ b/tests/TestSuite_rss_to_rte_flow.py > @@ -198,7 +198,7 @@ class 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"]): > + "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]): > rss_queue = ["1", "4", "7"] > self.send_and_check(self.pkt4, rss_queue) > self.send_and_check(self.pkt8, rss_queue) > @@ -229,7 +229,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"]): > + "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]): > rss_queue = ["3"] > self.send_and_check(self.pkt4, rss_queue) > self.send_and_check(self.pkt8, rss_queue) > @@ -274,7 +274,7 @@ class TestRSS_to_Rteflow(TestCase): > "flow create 0 ingress pattern end actions rss types udp ipv4-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"]): > + "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]): > rss_queue = ["1", "4", "7"] > self.send_and_check(self.pkt2, rss_queue) > self.send_and_check(self.pkt3, rss_queue) > @@ -316,7 +316,7 @@ class TestRSS_to_Rteflow(TestCase): > "flow create 0 ingress pattern end actions rss types ipv6-tcp 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"]): > + "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]): > rss_queue = ["5", "6", "7"] > self.send_and_check(self.pkt1, rss_queue) > self.send_and_check(self.pkt2, rss_queue) > @@ -392,7 +392,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_TLV"], "NIC Unsupported: " + str(self.nic)) > + "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic)) > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=16 --txq=16 --port-topology=chained") > self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) > self.dut.send_expect("set verbose 1", "testpmd> ", 120) > @@ -436,7 +436,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_TLV"], "NIC Unsupported: " + str(self.nic)) > + "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic)) > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=16 --txq=16 --port-topology=chained") > self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) > self.dut.send_expect("set verbose 1", "testpmd> ", 120) > @@ -462,7 +462,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_TLV"], "NIC Unsupported: " + str(self.nic)) > + "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic)) > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=16 --txq=16 --port-topology=chained") > self.dut.send_expect("port config all rss all", "testpmd> ", 120) > self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)