test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [�dts�] Fix reconfigure_ports failed issue
@ 2015-09-16 10:21 changru
  2015-09-16 10:44 ` Qiu, Michael
  0 siblings, 1 reply; 2+ messages in thread
From: changru @ 2015-09-16 10:21 UTC (permalink / raw)
  To: dts

Signed-off-by: changru <changrux.fan@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

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

* Re: [dts] [�dts�] Fix reconfigure_ports failed issue
  2015-09-16 10:21 [dts] [�dts�] Fix reconfigure_ports failed issue changru
@ 2015-09-16 10:44 ` Qiu, Michael
  0 siblings, 0 replies; 2+ messages in thread
From: Qiu, Michael @ 2015-09-16 10:44 UTC (permalink / raw)
  To: Fan, ChangruX, dts

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@dpdk.org] On Behalf Of changru
Sent: Wednesday, September 16, 2015 6:21 PM
To: dts@dpdk.org
Subject: [dts] [�dts�] Fix reconfigure_ports failed issue

Signed-off-by: changru <changrux.fan@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


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

end of thread, other threads:[~2015-09-16 10:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-16 10:21 [dts] [�dts�] Fix reconfigure_ports failed issue changru
2015-09-16 10:44 ` Qiu, Michael

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