test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V3 1/2] tests/*: add ICE_25G-E810_XXV_SFP in support suit
@ 2022-05-30  5:31 Lingli Chen
  2022-05-30  5:31 ` [dts][PATCH V3 2/2] conf/*: add ICE_25G-E810_XXV_SFP NIC in case list Lingli Chen
  0 siblings, 1 reply; 4+ messages in thread
From: Lingli Chen @ 2022-05-30  5:31 UTC (permalink / raw)
  To: dts; +Cc: zhiminx.huang, Lingli Chen

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 7304 bytes --]

add ICE_25G-E810_XXV_SFP in 9 support suits

Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
v3: fix format issue.

v2: add ICE_25G-E810_XXV_SFP support case.

v1: add ICE_25G-E810_XXV_SFP in support suit 

 tests/TestSuite_enable_package_download_in_ice_driver.py | 3 ++-
 tests/TestSuite_iavf_package_driver_error_handle.py      | 3 ++-
 tests/TestSuite_ice_1pps_signal.py                       | 2 +-
 tests/TestSuite_ice_dcf_acl_filter.py                    | 3 ++-
 tests/TestSuite_ice_limit_value_test.py                  | 4 ++--
 tests/TestSuite_ice_rss_configure.py                     | 3 ++-
 tests/TestSuite_ice_switch_filter.py                     | 3 ++-
 tests/TestSuite_ice_switch_filter_pppoe.py               | 3 ++-
 tests/TestSuite_large_vf.py                              | 3 ++-
 9 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/tests/TestSuite_enable_package_download_in_ice_driver.py b/tests/TestSuite_enable_package_download_in_ice_driver.py
index beda14a8..05f3915f 100644
--- a/tests/TestSuite_enable_package_download_in_ice_driver.py
+++ b/tests/TestSuite_enable_package_download_in_ice_driver.py
@@ -13,7 +13,8 @@ from framework.test_case import TestCase
 class TestEnable_Package_Download_In_Ice_Driver(TestCase):
     def set_up_all(self):
         self.verify(
-            self.nic in ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP"],
+            self.nic
+            in ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP"],
             "NIC Unsupported: " + str(self.nic),
         )
         self.dut_ports = self.dut.get_ports(self.nic)
diff --git a/tests/TestSuite_iavf_package_driver_error_handle.py b/tests/TestSuite_iavf_package_driver_error_handle.py
index 37efa3e0..da4f1ea7 100644
--- a/tests/TestSuite_iavf_package_driver_error_handle.py
+++ b/tests/TestSuite_iavf_package_driver_error_handle.py
@@ -15,7 +15,8 @@ from framework.test_case import TestCase
 class Testiavf_package_and_driver_check(TestCase):
     def set_up_all(self):
         self.verify(
-            self.nic in ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP"],
+            self.nic
+            in ["ICE_100G-E810C_QSFP", "ICE_25G-E810_XXV_SFP", "ICE_25G-E810C_SFP"],
             "NIC Unsupported: " + str(self.nic),
         )
         self.dut_ports = self.dut.get_ports(self.nic)
diff --git a/tests/TestSuite_ice_1pps_signal.py b/tests/TestSuite_ice_1pps_signal.py
index feec0ef7..ef94d466 100644
--- a/tests/TestSuite_ice_1pps_signal.py
+++ b/tests/TestSuite_ice_1pps_signal.py
@@ -9,7 +9,7 @@ from framework.test_case import TestCase, check_supported_nic
 
 
 class TestICE1PPS(TestCase):
-    supported_nic = ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP"]
+    supported_nic = ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP"]
 
     @check_supported_nic(supported_nic)
     def set_up_all(self):
diff --git a/tests/TestSuite_ice_dcf_acl_filter.py b/tests/TestSuite_ice_dcf_acl_filter.py
index 5e8b6e24..b5c61ea8 100644
--- a/tests/TestSuite_ice_dcf_acl_filter.py
+++ b/tests/TestSuite_ice_dcf_acl_filter.py
@@ -877,7 +877,8 @@ class ICEDCFACLFilterTest(TestCase):
         Run at the start of each test suite.
         """
         self.verify(
-            self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"],
+            self.nic
+            in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP"],
             "nic is not Intel® Ethernet 800 Series",
         )
         self.dut_ports = self.dut.get_ports(self.nic)
diff --git a/tests/TestSuite_ice_limit_value_test.py b/tests/TestSuite_ice_limit_value_test.py
index 6954e885..180c8c6d 100644
--- a/tests/TestSuite_ice_limit_value_test.py
+++ b/tests/TestSuite_ice_limit_value_test.py
@@ -660,7 +660,7 @@ class TestICELimitValue(TestCase):
             num = 4
             if self.is_chapman:
                 num = 8
-        if self.nic in ["ICE_25G-E810C_SFP"]:
+        if self.nic in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP"]:
             num = 2
         for i in range(num):
             for j in range(256):
@@ -855,7 +855,7 @@ class TestICELimitValue(TestCase):
                 count == num * 256,
                 "failed to create %s fdir rules on pf." % (num * 256),
             )
-        elif self.nic in ["ICE_25G-E810C_SFP"]:
+        elif self.nic in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP"]:
             for i in range(58):
                 for j in range(256):
                     flows.write(
diff --git a/tests/TestSuite_ice_rss_configure.py b/tests/TestSuite_ice_rss_configure.py
index 28821269..2a057da0 100644
--- a/tests/TestSuite_ice_rss_configure.py
+++ b/tests/TestSuite_ice_rss_configure.py
@@ -300,7 +300,8 @@ class RSSConfigureTest(TestCase):
         self.pf_mac = self.dut.get_mac_address(0)
         self.pf_pci = self.dut.ports_info[self.dut_ports[0]]["pci"]
         self.verify(
-            self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"],
+            self.nic
+            in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP"],
             "%s nic not support ethertype filter" % self.nic,
         )
         self.rsspro = RssProcessing(self, self.pmdout, [self.__tx_iface], rxq=16)
diff --git a/tests/TestSuite_ice_switch_filter.py b/tests/TestSuite_ice_switch_filter.py
index 43afc848..76bd630f 100644
--- a/tests/TestSuite_ice_switch_filter.py
+++ b/tests/TestSuite_ice_switch_filter.py
@@ -4264,7 +4264,8 @@ class ICESwitchFilterTest(TestCase):
         Run at the start of each test suite.
         """
         self.verify(
-            self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"],
+            self.nic
+            in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E810_XXV_SFP"],
             "%s nic not support Intel® Ethernet 800 Series switch filter" % self.nic,
         )
         self.dut_ports = self.dut.get_ports(self.nic)
diff --git a/tests/TestSuite_ice_switch_filter_pppoe.py b/tests/TestSuite_ice_switch_filter_pppoe.py
index 797029b3..c83195b3 100644
--- a/tests/TestSuite_ice_switch_filter_pppoe.py
+++ b/tests/TestSuite_ice_switch_filter_pppoe.py
@@ -2855,7 +2855,8 @@ class ICESwitchFilterPPPOETest(TestCase):
         Run at the start of each test suite.
         """
         self.verify(
-            self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"],
+            self.nic
+            in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP"],
             "%s nic not support Intel® Ethernet 800 Series switch filter" % self.nic,
         )
         self.dut_ports = self.dut.get_ports(self.nic)
diff --git a/tests/TestSuite_large_vf.py b/tests/TestSuite_large_vf.py
index 3dd1da74..00991790 100644
--- a/tests/TestSuite_large_vf.py
+++ b/tests/TestSuite_large_vf.py
@@ -189,7 +189,8 @@ class TestLargeVf(TestCase):
         # Based on h/w type, choose how many ports to use
         self.dut_ports = self.dut.get_ports(self.nic)
         self.verify(
-            self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"],
+            self.nic
+            in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP"],
             "%s nic not support large vf" % self.nic,
         )
         self.verify(len(self.dut_ports) >= 1, "Insufficient ports for testing")
-- 
2.17.1


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

end of thread, other threads:[~2022-06-15  8:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-30  5:31 [dts][PATCH V3 1/2] tests/*: add ICE_25G-E810_XXV_SFP in support suit Lingli Chen
2022-05-30  5:31 ` [dts][PATCH V3 2/2] conf/*: add ICE_25G-E810_XXV_SFP NIC in case list Lingli Chen
2022-06-15  8:46   ` lijuan.tu
2022-06-15  8:49   ` lijuan.tu

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).