From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id B00971BE0 for ; Fri, 9 Nov 2018 04:41:48 +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 fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Nov 2018 19:41:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,481,1534834800"; d="scan'208";a="106581925" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 08 Nov 2018 19:41:47 -0800 From: Wenjie Li To: dts@dpdk.org Cc: Wenjie Li Date: Fri, 9 Nov 2018 11:44:43 +0800 Message-Id: <1541735084-35560-1-git-send-email-wenjiex.a.li@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V2 1/2] tests/rss_to_rte_flow: append fvl_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: Fri, 09 Nov 2018 03:41:49 -0000 1. disable_enable_rss and enable_ipv4_udp_rss: "show port 0 rss-hash" returns different values on i40e and other nics, add fvl_25g to i40e list. 2. enable_ipv4_udp_rss: expected queue id changes to "0" for i40e nics and "all" for the others, add fvl_25g to i40e list. 3. set_key_keylen: could support fvl_25, so append this nic. Signed-off-by: Wenjie Li --- tests/TestSuite_rss_to_rte_flow.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/TestSuite_rss_to_rte_flow.py b/tests/TestSuite_rss_to_rte_flow.py index e258b2e..0e81140 100644 --- a/tests/TestSuite_rss_to_rte_flow.py +++ b/tests/TestSuite_rss_to_rte_flow.py @@ -184,7 +184,7 @@ class TestRSS_to_Rteflow(TestCase): # Show port default RSS fuctions if (self.nic in ["fortville_eagle", "fortville_spirit", - "fortville_spirit_single", "fortpark_TLV"]): + "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]): self.dut.send_expect( "show port 0 rss-hash", "ipv4-frag ipv4-other ipv6-frag ipv6-other ip") else: @@ -210,7 +210,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"]): + "fortville_spirit_single", "fortpark_TLV", "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") else: @@ -233,7 +233,7 @@ class TestRSS_to_Rteflow(TestCase): # Show port default RSS fuctions if (self.nic in ["fortville_eagle", "fortville_spirit", - "fortville_spirit_single", "fortpark_TLV"]): + "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]): self.dut.send_expect( "show port 0 rss-hash", "ipv4-frag ipv4-other ipv6-frag ipv6-other ip") else: @@ -247,7 +247,7 @@ class TestRSS_to_Rteflow(TestCase): self.send_packet("ipv4-udp", self.tester_itf) out = self.dut.send_expect("stop", "testpmd> ", 120) if (self.nic in ["fortville_eagle", "fortville_spirit", - "fortville_spirit_single", "fortpark_TLV"]): + "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]): self.check_packet_queue("0", out) else: self.check_packet_queue("all", out) @@ -396,7 +396,7 @@ class TestRSS_to_Rteflow(TestCase): """ # Only supported by i40e 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)) pkt1 = "Ether(dst='%s')/IP(src='0.0.0.0',dst='4.0.0.0')/UDP(sport=100, dport=200)/('X'*48)" % self.pf_mac pkt2 = "Ether(dst='%s')/IP(src='0.0.0.0',dst='4.0.0.0')/UDP(sport=100, dport=201)/('X'*48)" % self.pf_mac pkt3 = "Ether(dst='%s')/IP(src='0.0.0.0',dst='4.0.0.0')/UDP(sport=101, dport=201)/('X'*48)" % self.pf_mac -- 2.17.2