test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1]tests/ipgre stop port before set csum
@ 2018-02-11  2:53 han,yingya
  2018-03-08 10:43 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: han,yingya @ 2018-02-11  2:53 UTC (permalink / raw)
  To: dts; +Cc: han,yingya

Need to stop port before configure CSUM offloading.
Refer to dpdk commit: 597f9fafe
Signed-off-by: han,yingya <yingyax.han@intel.com>
---
 tests/TestSuite_ipgre.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py
index a770b8b..2dccb9c 100644
--- a/tests/TestSuite_ipgre.py
+++ b/tests/TestSuite_ipgre.py
@@ -311,12 +311,15 @@ class TestIpgre(TestCase):
         self.dut.send_expect(testpmd_cmd, "testpmd>", 20)
         self.dut.send_expect("set verbose 1", "testpmd>")
         self.dut.send_expect("set fwd csum", "testpmd>")
+        self.dut.send_expect("stop", "testpmd>")
+        self.dut.send_expect("port stop all", "testpmd>")
         self.dut.send_expect("csum set ip hw 0", "testpmd>")
         self.dut.send_expect("csum set udp hw 0", "testpmd>")
         self.dut.send_expect("csum set sctp hw 0", "testpmd>")
         self.dut.send_expect("csum set outer-ip hw 0", "testpmd>")
         self.dut.send_expect("csum set tcp hw 0", "testpmd>")
         self.dut.send_expect("csum parse_tunnel on 0", "testpmd>")
+        self.dut.send_expect("port start all", "testpmd>")
         self.dut.send_expect("start", "testpmd>")
 
         # Send packet with wrong outer IP checksum and check forwarded packet IP checksum is correct
-- 
1.9.3

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

* Re: [dts] [PATCH V1]tests/ipgre stop port before set csum
  2018-02-11  2:53 [dts] [PATCH V1]tests/ipgre stop port before set csum han,yingya
@ 2018-03-08 10:43 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2018-03-08 10:43 UTC (permalink / raw)
  To: han,yingya, dts

Thanks, Yingya. Applied.

On 02/11/2018 10:53 AM, han,yingya wrote:
> Need to stop port before configure CSUM offloading.
> Refer to dpdk commit: 597f9fafe
> Signed-off-by: han,yingya<yingyax.han@intel.com>

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

end of thread, other threads:[~2018-03-08  2:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-11  2:53 [dts] [PATCH V1]tests/ipgre stop port before set csum han,yingya
2018-03-08 10:43 ` Liu, Yong

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