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 2F7BDA0096 for ; Wed, 5 Jun 2019 07:39:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 94A4A1B94F; Wed, 5 Jun 2019 07:39:58 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 8588A4D27 for ; Wed, 5 Jun 2019 07:39:57 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jun 2019 22:39:56 -0700 X-ExtLoop1: 1 Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga004.fm.intel.com with ESMTP; 04 Jun 2019 22:39:56 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 4 Jun 2019 22:39:55 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 4 Jun 2019 22:39:49 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.10]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.137]) with mapi id 14.03.0415.000; Wed, 5 Jun 2019 13:39:46 +0800 From: "Tu, Lijuan" To: "nareddy@marvell.com" , "dts@dpdk.org" CC: "fmasood@marvell.com" , "avijay@marvell.com" Thread-Topic: [dts] [PATCH] TestSuite_skeleton.py: Modified send packet count to support vector mode Thread-Index: AQHVGrNgI3DnPt1io0usc0cfj0UlUKaMjLlg Date: Wed, 5 Jun 2019 05:39:46 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAA19FB@SHSMSX101.ccr.corp.intel.com> References: <1559638551-4898-1-git-send-email-nareddy@marvell.com> In-Reply-To: <1559638551-4898-1-git-send-email-nareddy@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmY0MjY3YjctNTAyZi00YjVkLWI2ZWItN2NlMDcwOTUxMzhjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiY1c2S1BUSFdVTlwvdUxQZjVxZUxyUXpzdXBibyt4aXVIZlwvWFYzWklUQnZnU011ME1cLzlIdUFYRHRhUXk2enRaMSJ9 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] TestSuite_skeleton.py: Modified send packet count to support 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 > nareddy@marvell.com > Sent: Tuesday, June 4, 2019 4:56 PM > To: dts@dpdk.org > Cc: fmasood@marvell.com; avijay@marvell.com; Praneeth Reddy > > Subject: [dts] [PATCH] TestSuite_skeleton.py: Modified send packet count = to > support vector mode >=20 > From: Praneeth Reddy >=20 > In vector mode minimum of 4 packets are required to forward. > Added packet count as 4 while sending packet from scapy. >=20 > Signed-off-by: Praneeth Reddy > --- > tests/TestSuite_skeleton.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_skeleton.py b/tests/TestSuite_skeleton.py in= dex > 6958b32..91cf9c4 100644 > --- a/tests/TestSuite_skeleton.py > +++ b/tests/TestSuite_skeleton.py > @@ -87,7 +87,7 @@ class TestSkeleton(TestCase): > """ > Send a packet to port > """ > - > self.tester.scapy_append('sendp([Ether(dst=3D"%s")/IP()/UDP()/Raw(\'X\'*1= 8)], > iface=3D"%s")' % (self.mac, iface)) > + > + self.tester.scapy_append('sendp([Ether(dst=3D"%s")/IP()/UDP()/Raw(\'X\'= * > + 18)], iface=3D"%s", count=3D4)' % (self.mac, iface)) > self.tester.scapy_execute() >=20 > def get_tcpdump_package(self,inst): > -- > 1.8.3.1