[dts] [PATCH V1] increase send packet number when bonding mode is 5
Chen, Zhaoyan
zhaoyan.chen at intel.com
Fri May 17 10:25:02 CEST 2019
Acked-by: Zhaoyan Chen<zhaoyan.chen at intel.com>
Regards,
Zhaoyan Chen
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of lihong
> Sent: Tuesday, May 7, 2019 8:31 AM
> To: dts at dpdk.org
> Cc: Ma, LihongX <lihongx.ma at 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 at 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
More information about the dts
mailing list