test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1]tests/shutdown_api: set fwd mode in promisc and allmulti
@ 2020-04-30 15:06 Zeng Xiaoxiao
  2020-04-30  6:23 ` Zeng, XiaoxiaoX
  2020-05-06  3:27 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Zeng Xiaoxiao @ 2020-04-30 15:06 UTC (permalink / raw)
  To: dts; +Cc: Zeng Xiaoxiao

*. default use io mode, set fwd mac. 

Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@intel.com>
---
 tests/TestSuite_shutdown_api.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index 181a385..a2f508a 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -354,6 +354,7 @@ class TestShutdownApi(TestCase):
         self.pmdout.start_testpmd("Default", "--portmask=%s  --port-topology=loop" % portmask, socket = self.ports_socket)
 
         self.dut.send_expect("port stop all", "testpmd> ", 100)
+        self.dut.send_expect("set fwd mac", "testpmd>")
         self.dut.send_expect("set promisc all off", "testpmd> ")
         self.dut.send_expect("port start all", "testpmd> ", 100)
         self.dut.send_expect("show config rxtx", "testpmd> ")
@@ -391,6 +392,7 @@ class TestShutdownApi(TestCase):
 
         self.dut.send_expect("set promisc all off", "testpmd> ")
         self.dut.send_expect("set allmulti all off", "testpmd> ")
+        self.dut.send_expect("set fwd mac", "testpmd>")
         self.dut.send_expect("start", "testpmd> ")
 
         self.check_forwarding(ports)
-- 
2.17.1


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

end of thread, other threads:[~2020-05-06  3:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30 15:06 [dts] [PATCH V1]tests/shutdown_api: set fwd mode in promisc and allmulti Zeng Xiaoxiao
2020-04-30  6:23 ` Zeng, XiaoxiaoX
2020-05-06  3:27 ` Tu, Lijuan

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