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 BBDAFA0096 for ; Wed, 8 May 2019 07:30:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 80AE62B87; Wed, 8 May 2019 07:30:23 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 786982862 for ; Wed, 8 May 2019 07:30:21 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 May 2019 22:30:20 -0700 X-ExtLoop1: 1 Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 07 May 2019 22:30:19 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 7 May 2019 22:30:19 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 7 May 2019 22:30:19 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.126]) with mapi id 14.03.0415.000; Wed, 8 May 2019 13:30:17 +0800 From: "Wu, ChangqingX" To: "Ma, LihongX" , "dts@dpdk.org" CC: "Ma, LihongX" Thread-Topic: [dts] [PATCH V1] increase send packet number when bonding mode is 5 Thread-Index: AQHVBKm6VpnDe6MxiUGE2SYdwNTuB6ZgtOXQ Date: Wed, 8 May 2019 05:30:17 +0000 Message-ID: <7F81DD3887C58F49A6B2EFEC3C28E22E0B6E1140@SHSMSX101.ccr.corp.intel.com> References: <1557189035-17128-1-git-send-email-lihongx.ma@intel.com> In-Reply-To: <1557189035-17128-1-git-send-email-lihongx.ma@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 V1] increase send packet number when bonding mode is 5 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" Tested-by: Wu, ChangqingX -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong Sent: Tuesday, May 7, 2019 8:31 AM To: dts@dpdk.org Cc: Ma, LihongX Subject: [dts] [PATCH V1] increase send packet number when bonding mode is = 5 when bonding mode is 5, the transmit should load balancing for tx, if recei= ve packet number not enough, it will not reflect the balance state. So chan= ge the send packet number from 1000 to 100000. Signed-off-by: lihong --- tests/TestSuite_pmd_bonded.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_pmd_bonded.py b/tests/TestSuite_pmd_bonded.py = index 2d4856a..78d5d21 100644 --- a/tests/TestSuite_pmd_bonded.py +++ b/tests/TestSuite_pmd_bonded.py @@ -196,7 +196,7 @@ class TestPmdBonded(TestCase): """ Send count packet to portid count: 1 or 2 or 3 or ... or 'MANY' - if count is 'MANY', then set count=3D1000, + if count is 'MANY', then set count=3D100000, send packets during 5 seconds. ether_ip: 'ether': @@ -226,7 +226,7 @@ class TestPmdBonded(TestCase): except ValueError as e: if count =3D=3D 'MANY': during =3D 5 - count =3D 1000 + count =3D 100000 else: raise e =20 @@ -261,7 +261,7 @@ UDP(sport=3Dsrcport, dport=3Ddestport)/Raw(load=3D"\x50= "*%s)], iface=3D"%s", count=3D%d)' self.tester.scapy_append('sendp([Ether(dst=3Dnutmac, src= =3Dsrcmac)/Dot1Q(vlan=3Dvlanvalue)/IP(dst=3Ddestip, src=3Dsrcip, len=3D%s)/= \ UDP(sport=3Dsrcport, dport=3Ddestport)/Raw(load=3D"\x50"*%s)], iface=3D"= %s", count=3D%d)' % (pktlen, padding, itf, count)) =20 - self.tester.scapy_execute() + self.tester.scapy_execute(timeout=3D180) loop +=3D 1 =20 now =3D time.time() -- 2.7.4