* [dts] [PATCH] fix vxlan invalid receive queue bug
@ 2015-11-11 2:03 Dong shijie
2015-11-11 2:18 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: Dong shijie @ 2015-11-11 2:03 UTC (permalink / raw)
To: dts
Signed-off-by: Dong shijie <shijiex.dong@intel.com>
---
tests/TestSuite_vxlan.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py
index 91da7ca..5c994c8 100644
--- a/tests/TestSuite_vxlan.py
+++ b/tests/TestSuite_vxlan.py
@@ -599,10 +599,10 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
out = self.dut.send_expect("start", "testpmd>", 10)
queue = -1
- pattern = re.compile("VNI = (\d) - Receive queue=0x(\d)")
+ pattern = re.compile("- Receive queue=0x(\d)")
m = pattern.search(out)
if m is not None:
- queue = m.group(2)
+ queue = m.group(1)
# verify received in expected queue
self.verify(queue_id == int(queue), "invalid receive queue")
--
1.8.1.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH] fix vxlan invalid receive queue bug
2015-11-11 2:03 [dts] [PATCH] fix vxlan invalid receive queue bug Dong shijie
@ 2015-11-11 2:18 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2015-11-11 2:18 UTC (permalink / raw)
To: Dong shijie, dts
Applied. Thanks.
On 11/11/2015 10:03 AM, Dong shijie wrote:
> Signed-off-by: Dong shijie <shijiex.dong@intel.com>
> ---
> tests/TestSuite_vxlan.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py
> index 91da7ca..5c994c8 100644
> --- a/tests/TestSuite_vxlan.py
> +++ b/tests/TestSuite_vxlan.py
> @@ -599,10 +599,10 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
> out = self.dut.send_expect("start", "testpmd>", 10)
>
> queue = -1
> - pattern = re.compile("VNI = (\d) - Receive queue=0x(\d)")
> + pattern = re.compile("- Receive queue=0x(\d)")
> m = pattern.search(out)
> if m is not None:
> - queue = m.group(2)
> + queue = m.group(1)
>
> # verify received in expected queue
> self.verify(queue_id == int(queue), "invalid receive queue")
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-11 2:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-11 2:03 [dts] [PATCH] fix vxlan invalid receive queue bug Dong shijie
2015-11-11 2:18 ` 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).