test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Wu, ChangqingX" <changqingx.wu@intel.com>
To: "Ma, LihongX" <lihongx.ma@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Ma, LihongX" <lihongx.ma@intel.com>
Subject: Re: [dts] [PATCH V1] increase send packet number when bonding mode is 5
Date: Wed, 8 May 2019 05:30:17 +0000	[thread overview]
Message-ID: <7F81DD3887C58F49A6B2EFEC3C28E22E0B6E1140@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1557189035-17128-1-git-send-email-lihongx.ma@intel.com>

Tested-by: Wu, ChangqingX <changqingx.wu@intel.com>

-----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 <lihongx.ma@intel.com>
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 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 <lihongx.ma@intel.com>
---
 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


  reply	other threads:[~2019-05-08  5:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-07  0:30 lihong
2019-05-08  5:30 ` Wu, ChangqingX [this message]
2019-05-08  7:17 ` Li, WenjieX A
2019-05-17  8:25 ` Chen, Zhaoyan
2019-05-22  3:26 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7F81DD3887C58F49A6B2EFEC3C28E22E0B6E1140@SHSMSX101.ccr.corp.intel.com \
    --to=changqingx.wu@intel.com \
    --cc=dts@dpdk.org \
    --cc=lihongx.ma@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).