[ovs-dev] [PATCH/RFC] ofproto-dpif: Make bonding balance test more robust
azhou at nicira.com
Fri May 2 01:46:08 UTC 2014
On Thu, May 1, 2014 at 6:23 PM, YAMAMOTO Takashi <yamamoto at valinux.co.jp> wrote:
>> It is my observation that when sending 91 packets to a mode=balance
>> bond interface with three underlying ports in some cases not all ports
>> receive at least 7 packets. This causes the test to fail.
> was it with or without commit e58f91a1?
Good question, I will look into it and report back.
> YAMAMOTO Takashi
>> It may be that failure indicates that the bonding code
>> needs improvement. But it seems to me that its more likely to
>> be a valid behaviour.
>> I have found that by sending 256 packets instead of 91 the test passes
>> more reliably: I am yet to see it fail.
>> Signed-off-by: Simon Horman <horms at verge.net.au>
>> tests/ofproto-dpif.at | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>> diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at
>> index a32bc41..c46e997 100644
>> --- a/tests/ofproto-dpif.at
>> +++ b/tests/ofproto-dpif.at
>> @@ -178,7 +178,7 @@ ovs-appctl time/warp 100
>> ovs-appctl lacp/show > lacp.txt
>> ovs-appctl bond/show > bond.txt
>> -for i in `seq 10 100` ;
>> +for i in `seq 0 255` ;
>> AT_CHECK([ovs-appctl netdev-dummy/receive p7 $pkt])
>> dev mailing list
>> dev at openvswitch.org
More information about the dev