test suite reviews and discussions
 help / color / mirror / Atom feed
From: Lingli Chen <linglix.chen@intel.com>
To: dts@dpdk.org
Cc: Lingli Chen <linglix.chen@intel.com>
Subject: [dts][PATCH V1 1/2] tests/*: add ICE_25G-E810_XXV_SFP support
Date: Fri, 27 May 2022 01:16:00 -0400	[thread overview]
Message-ID: <20220527051601.27592-1-linglix.chen@intel.com> (raw)

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

add ICE_25G-E810_XXV_SFP in support suit

Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
 tests/TestSuite_enable_package_download_in_ice_driver.py | 2 +-
 tests/TestSuite_iavf_package_driver_error_handle.py      | 2 +-
 tests/TestSuite_ice_1pps_signal.py                       | 2 +-
 tests/TestSuite_ice_dcf_acl_filter.py                    | 2 +-
 tests/TestSuite_ice_limit_value_test.py                  | 4 ++--
 tests/TestSuite_ice_rss_configure.py                     | 2 +-
 tests/TestSuite_ice_switch_filter.py                     | 2 +-
 tests/TestSuite_ice_switch_filter_pppoe.py               | 2 +-
 tests/TestSuite_large_vf.py                              | 2 +-
 9 files changed, 10 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..7417188e 100644
--- a/tests/TestSuite_enable_package_download_in_ice_driver.py
+++ b/tests/TestSuite_enable_package_download_in_ice_driver.py
@@ -13,7 +13,7 @@ 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..8a2c7859 100644
--- a/tests/TestSuite_iavf_package_driver_error_handle.py
+++ b/tests/TestSuite_iavf_package_driver_error_handle.py
@@ -15,7 +15,7 @@ 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 87aec71a..e433832f 100644
--- a/tests/TestSuite_ice_dcf_acl_filter.py
+++ b/tests/TestSuite_ice_dcf_acl_filter.py
@@ -896,7 +896,7 @@ 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..d45ef213 100644
--- a/tests/TestSuite_ice_rss_configure.py
+++ b/tests/TestSuite_ice_rss_configure.py
@@ -300,7 +300,7 @@ 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 c6dcd829..c5eee139 100644
--- a/tests/TestSuite_ice_switch_filter.py
+++ b/tests/TestSuite_ice_switch_filter.py
@@ -4246,7 +4246,7 @@ 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..bd50958c 100644
--- a/tests/TestSuite_ice_switch_filter_pppoe.py
+++ b/tests/TestSuite_ice_switch_filter_pppoe.py
@@ -2855,7 +2855,7 @@ 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..5fda208e 100644
--- a/tests/TestSuite_large_vf.py
+++ b/tests/TestSuite_large_vf.py
@@ -189,7 +189,7 @@ 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


             reply	other threads:[~2022-05-27  5:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-27  5:16 Lingli Chen [this message]
2022-05-27  5:16 ` [dts][PATCH V1 2/2] conf/test_case_checklist: add ICE_25G-E810_XXV_SFP not support Lingli Chen

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=20220527051601.27592-1-linglix.chen@intel.com \
    --to=linglix.chen@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).