[dts] [PATCH V1 2/2] tests/shutdown_api: modify igb pktSize

Lingli Chen linglix.chen at intel.com
Fri Apr 30 17:48:13 CEST 2021


According to dpdk commit ddbc8c16a97f ("net/e1000: fix max Rx packet size"). modify igb pktSize.

Signed-off-by: Lingli Chen <linglix.chen at intel.com>
---
 tests/TestSuite_shutdown_api.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index 79d0bdd7..03eb89ab 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -616,7 +616,7 @@ class TestShutdownApi(TestCase):
             self.dut.send_expect("port start all", "testpmd> ", 100)
             self.dut.send_expect("start", "testpmd> ")
 
-            if self.nic in ['magnolia_park', 'niantic', 'twinpond', 'kawela_4', 'ironpond', 'springfountain', 'springville', 'powerville', 'sageville', 'sagepond']:
+            if self.nic in ['magnolia_park', 'niantic', 'twinpond', 'kawela_4', 'ironpond', 'springfountain', 'sageville', 'sagepond']:
                 # nantic vlan length will not be calculated
                 vlan_jumbo_size = jumbo_size + 4
             else:
@@ -639,7 +639,7 @@ class TestShutdownApi(TestCase):
         """
         On 1G NICs, when the jubmo frame MTU set as X, the software adjust it to (X + 4).
         """
-        if self.nic in ["powerville", "springville", "kawela_4"]:
+        if self.nic in ["kawela_4"]:
             jumbo_size += 4
         self.check_forwarding(pktSize=jumbo_size - 1)
         self.check_forwarding(pktSize=jumbo_size)
-- 
2.17.1



More information about the dts mailing list