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 7AF35A3160 for ; Sat, 12 Oct 2019 08:11:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6D1201EB88; Sat, 12 Oct 2019 08:11:05 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id D93201EB3C for ; Sat, 12 Oct 2019 08:11:03 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Oct 2019 23:11:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,286,1566889200"; d="scan'208";a="346240886" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 11 Oct 2019 23:11:02 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 11 Oct 2019 23:11:02 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.96]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.166]) with mapi id 14.03.0439.000; Sat, 12 Oct 2019 14:11:00 +0800 From: "Tu, Lijuan" To: "nareddy@marvell.com" , "dts@dpdk.org" CC: "fmasood@marvell.com" , "avijay@marvell.com" Thread-Topic: [dts] [PATCH] TestSuite_vlan_ethertype_config.py: Added support for vector mode. Thread-Index: AQHVgACQPorBgfFrlEuHwaoYWqd5tKdWh5Tw Date: Sat, 12 Oct 2019 06:11:00 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB3EC9C@SHSMSX101.ccr.corp.intel.com> References: <1570776728-8077-1-git-send-email-nareddy@marvell.com> In-Reply-To: <1570776728-8077-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2VjMzJmOTUtOWJlMi00NWZmLTlkYTktNTc2NDY4M2QzZDJmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRmpQR3ZZOTA3aExacGpGOXBORXhCMmtHNW1YaWxsRjNJUGYrMnY2emQ4UFcwSUU2MFIxQXk3a0NMbXFNbndjWiJ9 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_vlan_ethertype_config.py: Added support for 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: Friday, October 11, 2019 2:52 PM > To: dts@dpdk.org > Cc: fmasood@marvell.com; avijay@marvell.com; Praneeth Reddy > > Subject: [dts] [PATCH] TestSuite_vlan_ethertype_config.py: Added support > for vector mode. >=20 > From: Praneeth Reddy >=20 > Vector mode need 4 packets to forward, modified to send 4 packets from > scapy >=20 > Signed-off-by: Praneeth Reddy > --- > tests/TestSuite_vlan_ethertype_config.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_vlan_ethertype_config.py > b/tests/TestSuite_vlan_ethertype_config.py > index 3269b57..33e9948 100644 > --- a/tests/TestSuite_vlan_ethertype_config.py > +++ b/tests/TestSuite_vlan_ethertype_config.py > @@ -146,7 +146,7 @@ class TestVlanEthertypeConfig(TestCase): >=20 > self.tester.scapy_foreground() > self.tester.scapy_append("pkt=3Drdpcap('%s')" % self.tpid_new_fi= le) > - self.tester.scapy_append("sendp(pkt, iface=3D'%s')" % self.txItf= ) > + self.tester.scapy_append("sendp(pkt, iface=3D'%s', count=3D4)" %= self.txItf) > self.tester.scapy_execute() >=20 > def check_vlan_packets(self, vlan, tpid, rxItf, result=3DTrue): > -- > 1.8.3.1