[dts] [PATCH V1] tests/TestSuite_rss_to_rte_flow:add nic support list
Tu, Lijuan
lijuan.tu at intel.com
Fri Jun 19 06:57:42 CEST 2020
Applied, thanks
-----Original Message-----
From: dts <dts-bounces at dpdk.org> On Behalf Of xizhan4x
Sent: 2020年6月15日 15:57
To: dts at dpdk.org
Cc: Zhang, XiX <xix.zhang at intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_rss_to_rte_flow:add nic support list
From: "Zhang,Xi" <xix.zhang at intel.com>
TestSuite_rss_to_rte_flow:add nic support list i40e or igb&ixgbe
Signed-off-by: Zhang,Xi <xix.zhang at 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
More information about the dts
mailing list