From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 69DE9A046B for ; Wed, 26 Jun 2019 09:07:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5C7424F98; Wed, 26 Jun 2019 09:07:52 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 298164F94 for ; Wed, 26 Jun 2019 09:07:50 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jun 2019 00:07:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,418,1557212400"; d="scan'208";a="164258175" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 26 Jun 2019 00:07:49 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 26 Jun 2019 00:07:48 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 26 Jun 2019 00:07:48 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.87]) by shsmsx102.ccr.corp.intel.com ([169.254.2.33]) with mapi id 14.03.0439.000; Wed, 26 Jun 2019 15:07:46 +0800 From: "Tu, Lijuan" To: "pvukkisala@marvell.com" , "dts@dpdk.org" CC: "avijay@marvell.com" , "fmasood@marvell.com" Thread-Topic: [dts] [PATCH] dual_vlan: Support this test in vector mode Thread-Index: AQHVJNWbSqZvCwD87EqFXFj1fVwCaKatkf9A Date: Wed, 26 Jun 2019 07:07:45 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAC4F71@SHSMSX101.ccr.corp.intel.com> References: <1560752764-24889-1-git-send-email-pvukkisala@marvell.com> In-Reply-To: <1560752764-24889-1-git-send-email-pvukkisala@marvell.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWRkMmY5Y2QtMWI3MS00NGQ1LTg2NmItOWQ4NjRkZGZiYzRiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiY2NlSjY5NW5cL3VRWXU4Z0ZuNGxlZjBcL0U5U05NWDd3NTJXaW1TbEtsZXIxd1crOWtiZldvdlQ0YzNadDNTV1JyIn0= 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] dual_vlan: Support this test in vector mode 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of > pvukkisala@marvell.com > Sent: Monday, June 17, 2019 2:26 PM > To: dts@dpdk.org > Cc: avijay@marvell.com; fmasood@marvell.com; Phanendra Vukkisala > > Subject: [dts] [PATCH] dual_vlan: Support this test in vector mode >=20 > From: Phanendra Vukkisala >=20 > Adding extra enter after killing tcpdump to aviod killed ouput comes as p= art > of next tcpdump read command >=20 > Signed-off-by: Phanendra Vukkisala > --- > tests/TestSuite_dual_vlan.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_dual_vlan.py b/tests/TestSuite_dual_vlan.py > index 63bb715..45343a1 100644 > --- a/tests/TestSuite_dual_vlan.py > +++ b/tests/TestSuite_dual_vlan.py > @@ -119,6 +119,7 @@ class TestDualVlan(TestCase): >=20 > def get_tcpdump_package(self): > self.tester.send_expect("killall tcpdump", "#") > + self.tester.send_expect(" ", "#") > return self.tester.send_expect("tcpdump -nn -e -v - > r ./getPackageByTcpdump.cap", "#") >=20 > def vlan_send_packet(self, *vid): > @@ -136,7 +137,7 @@ class TestDualVlan(TestCase): > vlanString =3D 'sendp([Ether(dst=3D"%s")/' % mac > for i in range(len(vid)): > vlanString +=3D "Dot1Q(id=3D0x8100,vlan=3D%s)/" % vid[i] > - vlanString +=3D 'IP(len=3D46)],iface=3D"%s")' % txItf > + vlanString +=3D 'IP(len=3D46)],iface=3D"%s", count=3D4)' % txItf >=20 > self.tester.scapy_append(vlanString) >=20 > -- > 1.7.9.5