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 2DCBAA00E6 for ; Fri, 14 Jun 2019 05:12:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0FEE41D49D; Fri, 14 Jun 2019 05:12:13 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id D279A1D489 for ; Fri, 14 Jun 2019 05:12:10 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jun 2019 20:12:10 -0700 X-ExtLoop1: 1 Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 13 Jun 2019 20:12:10 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 13 Jun 2019 20:12:02 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 13 Jun 2019 20:12:01 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.104]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.83]) with mapi id 14.03.0439.000; Fri, 14 Jun 2019 11:12:00 +0800 From: "Tu, Lijuan" To: "pvukkisala@marvell.com" , "dts@dpdk.org" CC: "avijay@marvell.com" , "fmasood@marvell.com" Thread-Topic: [dts] [PATCH] queue_start_stop: Support test in vector mode Thread-Index: AQHVIfZF+L7wWkNAu0ewoGZnmAO4DKaaeeqA Date: Fri, 14 Jun 2019 03:11:58 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BABE4CF@SHSMSX101.ccr.corp.intel.com> References: <1560436936-15434-1-git-send-email-pvukkisala@marvell.com> In-Reply-To: <1560436936-15434-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTI3OTZiYzAtMmZkNi00YmQ2LTk4ZWEtMjRjYjg4NzVkZjY2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibmh2d21sUnVXemZrMk8zMGI2cXl6cnJRUDhFdDREVW0zVW5FRmpjWGdhdDJCQ2hjcXhDUDhYVStNdXB1UlBHViJ9 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] queue_start_stop: Support 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: Thursday, June 13, 2019 10:42 PM > To: dts@dpdk.org > Cc: avijay@marvell.com; fmasood@marvell.com; Phanendra Vukkisala > > Subject: [dts] [PATCH] queue_start_stop: Support test in vector mode >=20 > From: Phanendra Vukkisala >=20 > Sending and expecting 4 packets instead of 1 to support vector mode >=20 > Signed-off-by: Phanendra Vukkisala > --- > tests/TestSuite_queue_start_stop.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_queue_start_stop.py > b/tests/TestSuite_queue_start_stop.py > index 6cd6831..34a2f41 100644 > --- a/tests/TestSuite_queue_start_stop.py > +++ b/tests/TestSuite_queue_start_stop.py > @@ -101,7 +101,7 @@ class TestQueueStartStop(TestCase): > pkt =3D Packet(pkt_type=3D"UDP", pkt_len=3DpktSize) > inst =3D self.tester.tcpdump_sniff_packets(rxitf) > pkt.config_layer('ether', {'dst': dmac}) > - pkt.send_pkt(tx_port=3Dtxitf) > + pkt.send_pkt(tx_port=3Dtxitf, count=3D4) > sniff_pkts =3D self.tester.load_tcpdump_sniff_packets(inst) >=20 > if received: > @@ -157,7 +157,7 @@ class TestQueueStartStop(TestCase): > except Exception, e: > raise IOError("queue start/stop forward failure: %s" % e) >=20 > - self.verify("ports 0 queue 0 receive 1 packages" in out, "start = queue > revice package failed, out =3D %s"%out) > + self.verify("ports 0 queue 0 receive 4 packages" in out, "start = queue > revice package failed, out =3D %s"%out) >=20 > try: > # start tx queue test > -- > 1.7.9.5