* [dts] [PATCH V1] fix tx_vlan reset issue
@ 2018-01-26 9:15 xu,gang
2018-01-29 13:47 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: xu,gang @ 2018-01-26 9:15 UTC (permalink / raw)
To: dts; +Cc: xu,gang
before tx_vlan reset need stop port first
Signed-off-by: xu,gang <gangx.xu@intel.com>
---
tests/TestSuite_vlan.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py
index dad5f7b..1e2076f 100644
--- a/tests/TestSuite_vlan.py
+++ b/tests/TestSuite_vlan.py
@@ -215,7 +215,10 @@ class TestVlan(TestCase):
out = self.get_tcpdump_package()
self.verify(self.vlan in out, "Vlan not found:" + str(out))
+ self.dut.send_expect("stop", "testpmd> ")
+ self.dut.send_expect("port stop all", "testpmd> ")
self.dut.send_expect("tx_vlan reset %s" % dutTxPortId, "testpmd> ", 30)
+ self.dut.send_expect("port start all", "testpmd> ")
self.dut.send_expect("stop", "testpmd> ", 30)
if self.kdriver == "fm10k":
--
1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1] fix tx_vlan reset issue
2018-01-26 9:15 [dts] [PATCH V1] fix tx_vlan reset issue xu,gang
@ 2018-01-29 13:47 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2018-01-29 13:47 UTC (permalink / raw)
To: xu,gang, dts
Thanks, gang. Applied.
On 01/26/2018 05:15 PM, xu,gang wrote:
> before tx_vlan reset need stop port first
>
> Signed-off-by: xu,gang<gangx.xu@intel.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-29 5:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-26 9:15 [dts] [PATCH V1] fix tx_vlan reset issue xu,gang
2018-01-29 13:47 ` 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).