* [dts] [PATCH]vxlan: Start packet forwarding before tester send packet to dut.
@ 2015-11-12 2:34 Lijuan Tu
2015-11-18 8:50 ` Liu, Yong
0 siblings, 1 reply; 3+ messages in thread
From: Lijuan Tu @ 2015-11-12 2:34 UTC (permalink / raw)
To: dts
Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
---
tests/TestSuite_vxlan.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py
index 5c994c8..cefe817 100644
--- a/tests/TestSuite_vxlan.py
+++ b/tests/TestSuite_vxlan.py
@@ -391,10 +391,11 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
# be same
config.outer_mac_dst = self.dut_port_mac
config.create_pcap()
+ self.dut.send_expect("start", "testpmd>", 10)
config.send_pcap(self.tester_iface)
# check whether detect vxlan type
- out = self.dut.send_expect("start", "testpmd>", 10)
+ out = self.dut.get_session_output()
self.verify(config.packet_type() in out, "Vxlan Packet not detected")
out = self.dut.send_expect("stop", "testpmd>", 10)
self.dut.send_expect("quit", "#", 10)
@@ -595,8 +596,9 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
# send vxlan packet
config.create_pcap()
+ self.dut.send_expect("start", "testpmd>", 10)
config.send_pcap(self.tester_iface)
- out = self.dut.send_expect("start", "testpmd>", 10)
+ out = self.dut.get_session_output()
queue = -1
pattern = re.compile("- Receive queue=0x(\d)")
--
1.9.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH]vxlan: Start packet forwarding before tester send packet to dut.
2015-11-12 2:34 [dts] [PATCH]vxlan: Start packet forwarding before tester send packet to dut Lijuan Tu
@ 2015-11-18 8:50 ` Liu, Yong
2015-11-18 11:31 ` Tu, LijuanX A
0 siblings, 1 reply; 3+ messages in thread
From: Liu, Yong @ 2015-11-18 8:50 UTC (permalink / raw)
To: Lijuan Tu, dts
Hi Lijuan,
Seem that not only this suite has the issue. Please fix it in all
suites, thanks a lot.
On 11/12/2015 10:34 AM, Lijuan Tu wrote:
> Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
> ---
> tests/TestSuite_vxlan.py | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py
> index 5c994c8..cefe817 100644
> --- a/tests/TestSuite_vxlan.py
> +++ b/tests/TestSuite_vxlan.py
> @@ -391,10 +391,11 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
> # be same
> config.outer_mac_dst = self.dut_port_mac
> config.create_pcap()
> + self.dut.send_expect("start", "testpmd>", 10)
> config.send_pcap(self.tester_iface)
>
> # check whether detect vxlan type
> - out = self.dut.send_expect("start", "testpmd>", 10)
> + out = self.dut.get_session_output()
> self.verify(config.packet_type() in out, "Vxlan Packet not detected")
> out = self.dut.send_expect("stop", "testpmd>", 10)
> self.dut.send_expect("quit", "#", 10)
> @@ -595,8 +596,9 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
>
> # send vxlan packet
> config.create_pcap()
> + self.dut.send_expect("start", "testpmd>", 10)
> config.send_pcap(self.tester_iface)
> - out = self.dut.send_expect("start", "testpmd>", 10)
> + out = self.dut.get_session_output()
>
> queue = -1
> pattern = re.compile("- Receive queue=0x(\d)")
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH]vxlan: Start packet forwarding before tester send packet to dut.
2015-11-18 8:50 ` Liu, Yong
@ 2015-11-18 11:31 ` Tu, LijuanX A
0 siblings, 0 replies; 3+ messages in thread
From: Tu, LijuanX A @ 2015-11-18 11:31 UTC (permalink / raw)
To: Liu, Yong, dts
Send a new patch to dts@dpdk.org
It fix nvgre,vxlan and multiprocess
-----Original Message-----
From: Liu, Yong
Sent: Wednesday, November 18, 2015 4:50 PM
To: Tu, LijuanX A; dts@dpdk.org
Subject: Re: [dts] [PATCH]vxlan: Start packet forwarding before tester send packet to dut.
Hi Lijuan,
Seem that not only this suite has the issue. Please fix it in all suites, thanks a lot.
On 11/12/2015 10:34 AM, Lijuan Tu wrote:
> Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
> ---
> tests/TestSuite_vxlan.py | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py index
> 5c994c8..cefe817 100644
> --- a/tests/TestSuite_vxlan.py
> +++ b/tests/TestSuite_vxlan.py
> @@ -391,10 +391,11 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
> # be same
> config.outer_mac_dst = self.dut_port_mac
> config.create_pcap()
> + self.dut.send_expect("start", "testpmd>", 10)
> config.send_pcap(self.tester_iface)
>
> # check whether detect vxlan type
> - out = self.dut.send_expect("start", "testpmd>", 10)
> + out = self.dut.get_session_output()
> self.verify(config.packet_type() in out, "Vxlan Packet not detected")
> out = self.dut.send_expect("stop", "testpmd>", 10)
> self.dut.send_expect("quit", "#", 10) @@ -595,8 +596,9 @@
> class TestVxlan(TestCase, IxiaPacketGenerator):
>
> # send vxlan packet
> config.create_pcap()
> + self.dut.send_expect("start", "testpmd>", 10)
> config.send_pcap(self.tester_iface)
> - out = self.dut.send_expect("start", "testpmd>", 10)
> + out = self.dut.get_session_output()
>
> queue = -1
> pattern = re.compile("- Receive queue=0x(\d)")
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-18 11:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-12 2:34 [dts] [PATCH]vxlan: Start packet forwarding before tester send packet to dut Lijuan Tu
2015-11-18 8:50 ` Liu, Yong
2015-11-18 11:31 ` Tu, LijuanX A
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).