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 5950EA0096 for ; Wed, 8 May 2019 09:17:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1C59B2C2B; Wed, 8 May 2019 09:17:48 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 3B9092BD5 for ; Wed, 8 May 2019 09:17:46 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 May 2019 00:17:44 -0700 X-ExtLoop1: 1 Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga007.jf.intel.com with ESMTP; 08 May 2019 00:17:44 -0700 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 8 May 2019 00:17:43 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 8 May 2019 00:17:43 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.70]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.10]) with mapi id 14.03.0415.000; Wed, 8 May 2019 15:17:41 +0800 From: "Li, WenjieX A" 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: AQHVBKm6YcVSiOvQbEOyghy4RjbGx6Zg0shQ Date: Wed, 8 May 2019 07:17:41 +0000 Message-ID: <8688172CD5C0B74590FAE19D9579F94B536E23A3@SHSMSX103.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: zh-CN, 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" Reviewed-by: Li, WenjieX A > -----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 i= s 5 >=20 > when bonding mode is 5, the transmit should load balancing for tx, if rec= eive > packet number not enough, it will not reflect the balance state. So chang= e the > send packet number from 1000 to 100000. >=20 > Signed-off-by: lihong > --- > tests/TestSuite_pmd_bonded.py | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_pmd_bonded.py b/tests/TestSuite_pmd_bonded.p= y > 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