test suite reviews and discussions
 help / color / mirror / Atom feed
From: Wenjie Li <wenjiex.a.li@intel.com>
To: dts@dpdk.org
Cc: Wenjie Li <wenjiex.a.li@intel.com>
Subject: [dts] [PATCH V2 1/2] tests/rss_to_rte_flow: append fvl_25g
Date: Fri,  9 Nov 2018 11:44:43 +0800	[thread overview]
Message-ID: <1541735084-35560-1-git-send-email-wenjiex.a.li@intel.com> (raw)


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

             reply	other threads:[~2018-11-09  3:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-09  3:44 Wenjie Li [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1541735084-35560-1-git-send-email-wenjiex.a.li@intel.com \
    --to=wenjiex.a.li@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).