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 AC645A046B for ; Wed, 26 Jun 2019 10:41:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A42B32BA7; Wed, 26 Jun 2019 10:41:36 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 5A9D22B98 for ; Wed, 26 Jun 2019 10:41:34 +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 orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jun 2019 01:41:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,419,1557212400"; d="scan'208";a="164281340" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga003.jf.intel.com with ESMTP; 26 Jun 2019 01:41:33 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 26 Jun 2019 01:41:33 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 26 Jun 2019 01:41:32 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.87]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.246]) with mapi id 14.03.0439.000; Wed, 26 Jun 2019 16:41:31 +0800 From: "Tu, Lijuan" To: "pvukkisala@marvell.com" , "dts@dpdk.org" CC: "avijay@marvell.com" , "fmasood@marvell.com" Thread-Topic: [dts] [PATCH] dynamic_queue: Increase sending frames count and destination IPs to distribute frames on all queues Thread-Index: AQHVJbrNOSua3ZkEuUa2LSzrY2cj3qatqmog Date: Wed, 26 Jun 2019 08:41:31 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAC534B@SHSMSX101.ccr.corp.intel.com> References: <1560851192-13962-1-git-send-email-pvukkisala@marvell.com> In-Reply-To: <1560851192-13962-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTY5NWRiMzAtYmQ3ZC00NGFlLTgwZmMtNDdmNDU4M2NmZDIwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiaFhldkVCWXh5OGcxS3NwSEhjUjdsM0RsZUZHdHBHTlhGeUp1M25zWVwvcis5cWdnZDMrbU1ZTW1IXC93S1Y2SE9aIn0= 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] dynamic_queue: Increase sending frames count and destination IPs to distribute frames on all queues 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: Tuesday, June 18, 2019 5:47 PM > To: dts@dpdk.org > Cc: avijay@marvell.com; fmasood@marvell.com; Phanendra Vukkisala > > Subject: [dts] [PATCH] dynamic_queue: Increase sending frames count and > destination IPs to distribute frames on all queues >=20 > From: Phanendra Vukkisala >=20 > Signed-off-by: Phanendra Vukkisala > --- > tests/TestSuite_dynamic_queue.py | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_dynamic_queue.py > b/tests/TestSuite_dynamic_queue.py > index 0edf613..f334a96 100644 > --- a/tests/TestSuite_dynamic_queue.py > +++ b/tests/TestSuite_dynamic_queue.py > @@ -63,11 +63,13 @@ class TestDynamicQueue(TestCase): > Generate packets and send them to dut > """ > mac =3D self.dut.get_mac_address(0) > - for i in range(self.PF_QUEUE * 2): > + for i in range(self.PF_QUEUE * 4): > + j =3D i /256 > + k =3D i % 256 > pkt =3D Packet(pkt_type=3D'IP_RAW') > pkt.config_layer('ether', {'dst': mac}) > pkt.config_layer( > - 'ipv4', {'dst': '192.168.0.%d' % i, 'src': '191.168.0.1'= }) > + 'ipv4', {'dst': '192.168.%d.%d' % (j, k), 'src': '191.16= 8.0.1'}) > pkt.send_pkt(tx_port=3Dself.tester_intf) >=20 > def rxq_setup_test(self, chgflag=3D0): > -- > 1.7.9.5