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 CB694A0471 for ; Tue, 18 Jun 2019 11:46:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AA6281BF77; Tue, 18 Jun 2019 11:46:40 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 5F4941BF60 for ; Tue, 18 Jun 2019 11:46:39 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5I9jcYA030754 for ; Tue, 18 Jun 2019 02:46:38 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=5teclqzHvvH5FWMOng9+Pz6iIRiSm+wGm8N8ti7POD4=; b=a/zW05LjtLdbRqgZMKru5amTEjERcA5XXJcVASefR8K75PUGMJkVMp5FsxdU/hAZM34K K56Icb4EIRndSKxhurXFdlehN2IXs3nGmuvyiJyN37lJFxp65ewBIyxDdz3ydP1S+SUi noishT4OHH6BLBGoIhLpjiHYLQ8XwzA+zB0zJ2bvh0DNRLEC2+QutNyjuRTS5OMmn8Ee DpqgqVXzD0p75o+wrsq4g240qCDhz81bD+59OHYYN7yV9mRMLSk/r1wGLukHO9iutxvZ /M/9OBR/o7v5xhaKdLtowTsSPfjbO+fspveDOj2ULOf8Zv+rCfS1lVLqrzRnqrkKcEju oQ== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2t6qgp9aqu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 18 Jun 2019 02:46:38 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 18 Jun 2019 02:46:37 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Tue, 18 Jun 2019 02:46:37 -0700 Received: from phanendra-system.marvell.com (unknown [10.28.11.20]) by maili.marvell.com (Postfix) with ESMTP id 1A8FD3F703F; Tue, 18 Jun 2019 02:46:35 -0700 (PDT) From: To: CC: , , Phanendra Vukkisala Date: Tue, 18 Jun 2019 15:16:32 +0530 Message-ID: <1560851192-13962-1-git-send-email-pvukkisala@marvell.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-18_05:, , signatures=0 Subject: [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" From: Phanendra Vukkisala Signed-off-by: Phanendra Vukkisala --- tests/TestSuite_dynamic_queue.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 = self.dut.get_mac_address(0) - for i in range(self.PF_QUEUE * 2): + for i in range(self.PF_QUEUE * 4): + j = i /256 + k = i % 256 pkt = Packet(pkt_type='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.168.0.1'}) pkt.send_pkt(tx_port=self.tester_intf) def rxq_setup_test(self, chgflag=0): -- 1.7.9.5