[dts] [�dts�] Fix reconfigure_ports failed issue

Qiu, Michael michael.qiu at intel.com
Wed Sep 16 12:44:21 CEST 2015


Hi, Changeru

Would you mind to add some commit log so that reviewer could easy to know what are you doing and why do you change code like this?

Thanks,
Michael

-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of changru
Sent: Wednesday, September 16, 2015 6:21 PM
To: dts at dpdk.org
Subject: [dts] [�dts�] Fix reconfigure_ports failed issue

Signed-off-by: changru <changrux.fan at intel.com>
---
 tests/TestSuite_shutdown_api.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py index 92ab67f..1661eea 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -152,6 +152,9 @@ class TestShutdownApi(TestCase):
                                 "powerville", "springville", "hartwell"]:
                     self.verify(p1rx_bytes - 4 == pktSize,
                                 "Wrong RX bytes CRC strip: p1_rx=%d, pktSize=%d" % (p1rx_bytes, pktSize))
+                elif self.nic in ["powerville", "springville", "kawela_4"]:
+                    self.verify(p1rx_bytes == pktSize,
+                                "Wrong RX bytes CRC strip: p1_rx=%d, pktSize=%d" % (p1rx_bytes, pktSize))                  
                 else:
                     self.verify(p1rx_bytes == pktSize - 4,
                                 "Wrong RX bytes CRC strip: p1_rx=%d, pktSize=%d" % (p1rx_bytes, pktSize))
--
2.1.0



More information about the dts mailing list