From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 3266A5A68 for ; Wed, 18 Nov 2015 12:31:23 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 18 Nov 2015 03:31:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,312,1444719600"; d="scan'208";a="688387498" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 18 Nov 2015 03:31:22 -0800 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 18 Nov 2015 03:31:20 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 18 Nov 2015 03:31:20 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.42]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.138]) with mapi id 14.03.0248.002; Wed, 18 Nov 2015 19:31:12 +0800 From: "Tu, LijuanX A" To: "Liu, Yong" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH]vxlan: Start packet forwarding before tester send packet to dut. Thread-Index: AQHRId4EcpZ0aGbdukWd486syE1Ys56hpS/w Date: Wed, 18 Nov 2015 11:31:11 +0000 Message-ID: <38D041F150D4184C8114E499040E62340723D30E@shsmsx102.ccr.corp.intel.com> References: <1447295642-15736-1-git-send-email-lijuanx.a.tu@intel.com> <564C3BCB.4010104@intel.com> In-Reply-To: <564C3BCB.4010104@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH]vxlan: Start packet forwarding before tester send packet to dut. X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2015 11:31:23 -0000 Send a new patch to dts@dpdk.org=20 It fix nvgre,vxlan and multiprocess -----Original Message----- From: Liu, Yong=20 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, t= hanks a lot. On 11/12/2015 10:34 AM, Lijuan Tu wrote: > Signed-off-by: Lijuan Tu > --- > 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=20 > 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 =3D self.dut_port_mac > config.create_pcap() > + self.dut.send_expect("start", "testpmd>", 10) > config.send_pcap(self.tester_iface) > =20 > # check whether detect vxlan type > - out =3D self.dut.send_expect("start", "testpmd>", 10) > + out =3D self.dut.get_session_output() > self.verify(config.packet_type() in out, "Vxlan Packet not dete= cted") > out =3D self.dut.send_expect("stop", "testpmd>", 10) > self.dut.send_expect("quit", "#", 10) @@ -595,8 +596,9 @@=20 > class TestVxlan(TestCase, IxiaPacketGenerator): > =20 > # send vxlan packet > config.create_pcap() > + self.dut.send_expect("start", "testpmd>", 10) > config.send_pcap(self.tester_iface) > - out =3D self.dut.send_expect("start", "testpmd>", 10) > + out =3D self.dut.get_session_output() > =20 > queue =3D -1 > pattern =3D re.compile("- Receive queue=3D0x(\d)")