[V1,2/2] tests/shutdown_api: modify igb pktSize

Message ID 20210430154813.15699-3-linglix.chen@intel.com (mailing list archive)
State Accepted
Headers
Series modify igb and igc nic pktsize |

Commit Message

Lingli Chen April 30, 2021, 3:48 p.m. UTC
  According to dpdk commit ddbc8c16a97f ("net/e1000: fix max Rx packet size"). modify igb pktSize.

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

Patch

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)