test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Zhang, XiX" <xix.zhang@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Zhang, XiX" <xix.zhang@intel.com>
Subject: Re: [dts] [PATCH V1] tests/TestSuite_rss_to_rte_flow:add nic support	list
Date: Fri, 19 Jun 2020 04:57:42 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC5FC22@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1592207794-20542-1-git-send-email-xix.zhang@intel.com>

Applied, thanks

-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of xizhan4x
Sent: 2020年6月15日 15:57
To: dts@dpdk.org
Cc: Zhang, XiX <xix.zhang@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_rss_to_rte_flow:add nic support list

From: "Zhang,Xi" <xix.zhang@intel.com>

TestSuite_rss_to_rte_flow:add nic support list i40e or igb&ixgbe

Signed-off-by: Zhang,Xi <xix.zhang@intel.com>
---
 conf/test_case_supportlist.json    | 279 +++++++++++++++++++++++++++++++++++++
 tests/TestSuite_rss_to_rte_flow.py |  30 ++--
 2 files changed, 294 insertions(+), 15 deletions(-)

diff --git a/conf/test_case_supportlist.json b/conf/test_case_supportlist.json index 50101af..496f0af 100644
--- a/conf/test_case_supportlist.json
+++ b/conf/test_case_supportlist.json
@@ -1929,5 +1929,284 @@
             "Bug ID": "",
             "Comments": "This case only support i40e nic "
         }
+    ],
+    "queue_region_with_rte_flow_api": [
+        {
+            "OS": [
+                "ALL"
+            ],
+            "NIC": [
+                "fortville_eagle",
+                "fortville_spirit",
+                "fortville_spirit_single",
+                "fortpark_TLV",
+                "fortpark_BASE-T",
+                "fortville_25g",
+                "carlsville"
+            ],
+            "Target": [
+                "ALL"
+            ],
+            "Bug ID": "",
+            "Comments": "This case only support i40e nic "
+        }
+    ],
+    "flow_director_rss_rule_combination": [
+        {
+            "OS": [
+                "ALL"
+            ],
+            "NIC": [
+                "fortville_eagle",
+                "fortville_spirit",
+                "fortville_spirit_single",
+                "fortpark_TLV",
+                "fortpark_BASE-T",
+                "fortville_25g",
+                "carlsville"
+            ],
+            "Target": [
+                "ALL"
+            ],
+            "Bug ID": "",
+            "Comments": "This case only support i40e nic "
+        }
+    ],
+    "set_rss_queues": [
+        {
+            "OS": [
+                "ALL"
+            ],
+            "NIC": [
+                "fortville_eagle",
+                "fortville_spirit",
+                "carlsville",
+                "fortville_spirit_single",
+                "fortpark_TLV",
+                "fortpark_BASE-T",
+                "fortville_25g"
+            ],
+            "Target": [
+                "ALL"
+            ],
+            "Bug ID": "",
+            "Comments": "This case only support i40e nic "
+        }
+    ],
+    "set_rss_types_rss_queue": [
+        {
+            "OS": [
+                "ALL"
+            ],
+            "NIC": [
+                "fortville_eagle",
+                "fortville_spirit",
+                "carlsville",
+                "fortville_spirit_single",
+                "fortpark_TLV",
+                "fortpark_BASE-T",
+                "fortville_25g"
+            ],
+            "Target": [
+                "ALL"
+            ],
+            "Bug ID": "",
+            "Comments": "This case only support i40e nic "
+        }
+    ],
+    "disable_rss_in_commandline": [
+        {
+            "OS": [
+                "ALL"
+            ],
+            "NIC": [
+                "fortville_eagle",
+                "fortville_spirit",
+                "carlsville",
+                "fortville_spirit_single",
+                "fortpark_TLV",
+                "fortpark_BASE-T",
+                "fortville_25g"
+            ],
+            "Target": [
+                "ALL"
+            ],
+            "Bug ID": "",
+            "Comments": "This case only support i40e nic "
+        }
+    ],
+    "queue_region_in_rte_flow_with_invalid_parameter": [
+        {
+            "OS": [
+                "ALL"
+            ],
+            "NIC": [
+                "fortville_eagle",
+                "fortville_spirit",
+                "carlsville",
+                "fortville_spirit_single",
+                "fortpark_TLV",
+                "fortpark_BASE-T",
+                "fortville_25g"
+            ],
+            "Target": [
+                "ALL"
+            ],
+            "Bug ID": "",
+            "Comments": "This case only support i40e nic "
+        }
+    ],
+    "set_rss_types": [
+        {
+            "OS": [
+                "ALL"
+            ],
+            "NIC": [
+                "fortville_eagle",
+                "fortville_spirit",
+                "carlsville",
+                "fortville_spirit_single",
+                "fortpark_TLV",
+                "fortpark_BASE-T",
+                "fortville_25g"
+            ],
+            "Target": [
+                "ALL"
+            ],
+            "Bug ID": "",
+            "Comments": "This case only support i40e nic "
+        }
+    ],
+    "disable_rss_in_commandline_ixgbe_igb": [
+        {
+            "OS": [
+                "ALL"
+            ],
+            "NIC": [
+                "niantic",
+                "ironpond",
+                "twinpond",
+                "twinville",
+                "sageville",
+                "sagepond",
+                "springville",
+                "powerville"
+            ],
+            "Target": [
+                "ALL"
+            ],
+            "Bug ID": "",
+            "Comments": "This case only support ixgbe and igb nic "
+        }
+    ],
+    "disable_enable_rss_ixgbe_igb": [
+        {
+            "OS": [
+                "ALL"
+            ],
+            "NIC": [
+                "niantic",
+                "ironpond",
+                "twinpond",
+                "twinville",
+                "sageville",
+                "sagepond",
+                "springville",
+                "powerville"
+            ],
+            "Target": [
+                "ALL"
+            ],
+            "Bug ID": "",
+            "Comments": "This case only support ixgbe and igb nic "
+        }
+    ],
+    "rss_queue_rule_ixgbe_igb": [
+        {
+            "OS": [
+                "ALL"
+            ],
+            "NIC": [
+                "niantic",
+                "ironpond",
+                "twinpond",
+                "twinville",
+                "sageville",
+                "sagepond",
+                "springville",
+                "powerville"
+            ],
+            "Target": [
+                "ALL"
+            ],
+            "Bug ID": "",
+            "Comments": "This case only support ixgbe and igb nic "
+        }
+    ],
+    "different_types_ixgbe_igb": [
+        {
+            "OS": [
+                "ALL"
+            ],
+            "NIC": [
+                "niantic",
+                "ironpond",
+                "twinpond",
+                "twinville",
+                "sageville",
+                "sagepond",
+                "springville",
+                "powerville"
+            ],
+            "Target": [
+                "ALL"
+            ],
+            "Bug ID": "",
+            "Comments": "This case only support ixgbe and igb nic "
+        }
+    ],
+    "enable_ipv4_udp_rss_ixgbe_igb": [
+        {
+            "OS": [
+                "ALL"
+            ],
+            "NIC": [
+                "niantic",
+                "ironpond",
+                "twinpond",
+                "twinville",
+                "sageville",
+                "sagepond",
+                "springville",
+                "powerville"
+            ],
+            "Target": [
+                "ALL"
+            ],
+            "Bug ID": "",
+            "Comments": "This case only support ixgbe and igb nic "
+        }
+    ],
+    "flow_director_rss_rule_combination_ixgbe_igb": [
+        {
+            "OS": [
+                "ALL"
+            ],
+            "NIC": [
+                "niantic",
+                "ironpond",
+                "twinpond",
+                "twinville",
+                "sageville",
+                "sagepond",
+                "springville",
+                "powerville"
+            ],
+            "Target": [
+                "ALL"
+            ],
+            "Bug ID": "",
+            "Comments": "This case only support ixgbe and igb nic "
+        }
     ]
 }
diff --git a/tests/TestSuite_rss_to_rte_flow.py b/tests/TestSuite_rss_to_rte_flow.py
index 0745d24..469a271 100644
--- a/tests/TestSuite_rss_to_rte_flow.py
+++ b/tests/TestSuite_rss_to_rte_flow.py
@@ -301,7 +301,7 @@ class TestRSS_to_Rteflow(TestCase):
         Disable and enable RSS.
         """
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: 
+ " + str(self.nic))
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-topology=chained")
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
         self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -400,7 +400,7 @@ class TestRSS_to_Rteflow(TestCase):
         Set valid and invalid parameter.
         """
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: 
+ " + str(self.nic))
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --port-topology=chained")
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
         self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -479,7 +479,7 @@ class TestRSS_to_Rteflow(TestCase):
         Set valid and invalid parameter.
         """
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: 
+ " + str(self.nic))
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --port-topology=chained")
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
         self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -541,7 +541,7 @@ class TestRSS_to_Rteflow(TestCase):
         """
         # Only supported by i40e
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "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.pf0_mac
         pkt2 = "Ether(dst='%s')/IP(src='0.0.0.0',dst='4.0.0.0')/UDP(sport=100, dport=201)/('X'*48)" % self.pf0_mac
         pkt3 = "Ether(dst='%s')/IP(src='0.0.0.0',dst='4.0.0.0')/UDP(sport=101, dport=201)/('X'*48)" % self.pf0_mac @@ -616,7 +616,7 @@ class TestRSS_to_Rteflow(TestCase):
         Set RSS queue rule while disable RSS in command-line.
         """
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: 
+ " + str(self.nic))
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --disable-rss --port-topology=chained")
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
         self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -696,7 +696,7 @@ class TestRSS_to_Rteflow(TestCase):
         flow directory filter is priority to RSS hash filter.
         """
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: 
+ " + str(self.nic))
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --pkt-filter-mode=perfect")
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
         self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -728,7 +728,7 @@ class TestRSS_to_Rteflow(TestCase):
         Set RSS queue rule with queue region API.
         """
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "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) @@ -772,7 +772,7 @@ class TestRSS_to_Rteflow(TestCase):
         Set RSS queue region rule with invalid parameter in rte_flow API.
         """
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "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) @@ -802,7 +802,7 @@ class TestRSS_to_Rteflow(TestCase):
         The queue region is priority to RSS queue rule.
         """
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: 
+ " + str(self.nic))
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=16 --txq=16 --port-topology=chained")
         self.dut.send_expect("flow create 0 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp end queues end / end", "created", 120)
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) @@ -840,7 +840,7 @@ class TestRSS_to_Rteflow(TestCase):
         Disable and enable RSS.
         """
         self.verify(self.nic not in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: 
+ " + str(self.nic))
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-topology=chained")
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
         self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -871,7 +871,7 @@ class TestRSS_to_Rteflow(TestCase):
         Enable IPv4-UDP RSS.
         """
         self.verify(self.nic not in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: 
+ " + str(self.nic))
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-topology=chained")
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
         self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -896,7 +896,7 @@ class TestRSS_to_Rteflow(TestCase):
         Set valid and invalid parameter.
         """
         self.verify(self.nic not in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: 
+ " + str(self.nic))
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --port-topology=chained")
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
         self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -939,7 +939,7 @@ class TestRSS_to_Rteflow(TestCase):
         Set different types rss queue rules.
         """
         self.verify(self.nic not in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: 
+ " + str(self.nic))
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --port-topology=chained")
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
         self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -975,7 +975,7 @@ class TestRSS_to_Rteflow(TestCase):
         Set RSS queue rule while disable RSS in command-line.
         """
         self.verify(self.nic not in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: 
+ " + str(self.nic))
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --disable-rss --port-topology=chained")
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
         self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -1011,7 +1011,7 @@ class TestRSS_to_Rteflow(TestCase):
         Set RSS queue rule and flow director rule in meantime.
         """
         self.verify(self.nic not in ["fortville_eagle", "fortville_spirit", "carlsville",
-                                 "fortville_spirit_single", "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
+                                 "fortville_spirit_single", 
+ "fortpark_TLV", "fortville_25g","fortpark_BASE-T"], "NIC Unsupported: 
+ " + str(self.nic))
         self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8 --pkt-filter-mode=perfect")
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
         self.dut.send_expect("set verbose 1", "testpmd> ", 120)
--
1.8.3.1


      reply	other threads:[~2020-06-19  4:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-15  7:56 xizhan4x
2020-06-19  4:57 ` Tu, Lijuan [this message]

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=8CE3E05A3F976642AAB0F4675D0AD20E0BC5FC22@SHSMSX101.ccr.corp.intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=xix.zhang@intel.com \
    /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).