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 C18FAA05D3 for ; Wed, 22 May 2019 05:26:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 814852C39; Wed, 22 May 2019 05:26:13 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 6292225A1 for ; Wed, 22 May 2019 05:26:11 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 May 2019 20:26:10 -0700 X-ExtLoop1: 1 Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga006.jf.intel.com with ESMTP; 21 May 2019 20:26:10 -0700 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 21 May 2019 20:26:09 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 21 May 2019 20:26:09 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.216]) with mapi id 14.03.0415.000; Wed, 22 May 2019 11:26:07 +0800 From: "Tu, Lijuan" 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: AQHVBKm6OBfWGEznh0q5M7UqM1AtFaZ2ktNA Date: Wed, 22 May 2019 03:26:07 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA83DFA@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: 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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTBhYjZiYzgtN2NlZi00NmY1LThlM2MtM2U2YWRjMTFhYmYzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZFg0eFwvQ1RSQnZkeHpCSHBcLzY0dEJ1eko3WFFaaUYrcWw1aFJhdURSSlwvRnhXREVqbnRsRXBZS1RkUm8rdnNPQyJ9 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" Applied, thanks > -----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 >=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.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