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 D9CCDA0096 for ; Tue, 7 May 2019 09:50:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 733A52BB8; Tue, 7 May 2019 09:50:58 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id CF6CC1D7 for ; Tue, 7 May 2019 09:50:56 +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 orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 May 2019 00:50:55 -0700 X-ExtLoop1: 1 Received: from ubuntu.sh.intel.com ([10.67.118.150]) by fmsmga004.fm.intel.com with ESMTP; 07 May 2019 00:50:54 -0700 From: lihong To: dts@dpdk.org Cc: lihong Date: Tue, 7 May 2019 08:30:35 +0800 Message-Id: <1557189035-17128-1-git-send-email-lihongx.ma@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [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" when bonding mode is 5, the transmit should load balancing for tx, if receive packet number not enough, it will not reflect the balance state. So change 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=1000, + if count is 'MANY', then set count=100000, send packets during 5 seconds. ether_ip: 'ether': @@ -226,7 +226,7 @@ class TestPmdBonded(TestCase): except ValueError as e: if count == 'MANY': during = 5 - count = 1000 + count = 100000 else: raise e @@ -261,7 +261,7 @@ UDP(sport=srcport, dport=destport)/Raw(load="\x50"*%s)], iface="%s", count=%d)' self.tester.scapy_append('sendp([Ether(dst=nutmac, src=srcmac)/Dot1Q(vlan=vlanvalue)/IP(dst=destip, src=srcip, len=%s)/\ UDP(sport=srcport, dport=destport)/Raw(load="\x50"*%s)], iface="%s", count=%d)' % (pktlen, padding, itf, count)) - self.tester.scapy_execute() + self.tester.scapy_execute(timeout=180) loop += 1 now = time.time() -- 2.7.4