test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2 1/2] tests/rss_to_rte_flow: append fvl_25g
@ 2018-11-09  3:44 Wenjie Li
  2018-11-09  3:44 ` [dts] [PATCH V2 2/2] conf/supportlist: append fvl_25g to set_key_keylen Wenjie Li
  2018-11-09  3:54 ` [dts] [PATCH V2 1/2] tests/rss_to_rte_flow: append fvl_25g Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Wenjie Li @ 2018-11-09  3:44 UTC (permalink / raw)
  To: dts; +Cc: Wenjie Li


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 <wenjiex.a.li@intel.com>
---
 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-09  3:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-09  3:44 [dts] [PATCH V2 1/2] tests/rss_to_rte_flow: append fvl_25g Wenjie Li
2018-11-09  3:44 ` [dts] [PATCH V2 2/2] conf/supportlist: append fvl_25g to set_key_keylen Wenjie Li
2018-11-09  3:54 ` [dts] [PATCH V2 1/2] tests/rss_to_rte_flow: append fvl_25g Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).