From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A723DA3160 for ; Sat, 12 Oct 2019 08:11:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9DDB11EB92; Sat, 12 Oct 2019 08:11:10 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 041061EB3C for ; Sat, 12 Oct 2019 08:11:08 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Oct 2019 23:11:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,286,1566889200"; d="scan'208";a="278352166" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga001.jf.intel.com with ESMTP; 11 Oct 2019 23:11:07 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 11 Oct 2019 23:11:07 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 11 Oct 2019 23:11:07 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.96]) by SHSMSX152.ccr.corp.intel.com ([10.239.6.52]) with mapi id 14.03.0439.000; Sat, 12 Oct 2019 14:11:05 +0800 From: "Tu, Lijuan" To: "nareddy@marvell.com" , "dts@dpdk.org" CC: "fmasood@marvell.com" , "avijay@marvell.com" Thread-Topic: [dts] [PATCH] TestSuite_netmap_compat.py: Vector mode requires minimum of 4 packets Thread-Index: AQHVf/jrvB4MTampBUKJuZNIefym46dWh7OQ Date: Sat, 12 Oct 2019 06:11:05 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB3ECA9@SHSMSX101.ccr.corp.intel.com> References: <1570773462-5767-1-git-send-email-nareddy@marvell.com> In-Reply-To: <1570773462-5767-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.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGM1MGZlNTUtZjJhYy00YjYzLWE2MjAtMGU3MWNmYmRlN2VlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNjR5Z1FMbmNuXC81QUk4VGN2NHJuOFwvSXczMFVUMGJIckl1VnhcLzVkSzdhTWlGcHlSbnB3OXM0Ymp0K3JNUTJucCJ9 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_netmap_compat.py: Vector mode requires minimum of 4 packets 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: Friday, October 11, 2019 1:58 PM > To: dts@dpdk.org > Cc: fmasood@marvell.com; avijay@marvell.com; Praneeth Reddy > > Subject: [dts] [PATCH] TestSuite_netmap_compat.py: Vector mode requires > minimum of 4 packets >=20 > From: Praneeth Reddy >=20 > In vector mode requires minimum of 4 packets to forward >=20 > Signed-off-by: Praneeth Reddy > --- > tests/TestSuite_netmap_compat.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_netmap_compat.py > b/tests/TestSuite_netmap_compat.py > index 2f8171c..61ee153 100644 > --- a/tests/TestSuite_netmap_compat.py > +++ b/tests/TestSuite_netmap_compat.py > @@ -108,7 +108,7 @@ class TestNetmapCompat(TestCase): > txport =3D self.tester.get_local_port(self.dut_ports[0]) > mac =3D self.dut.get_mac_address(self.dut_ports[0]) > txItf =3D self.tester.get_interface(txport) > - > self.tester.scapy_append('sendp([Ether(dst=3D"%s")/IP()/UDP()/Raw(\'X\'*1= 8)], > iface=3D"%s")' % (mac, txItf)) > + > self.tester.scapy_append('sendp([Ether(dst=3D"%s")/IP()/UDP()/Raw(\'X\'*1= 8)], > iface=3D"%s", count=3D4)' % (mac, txItf)) > self.tester.scapy_execute() >=20 >=20 > -- > 1.8.3.1