Re: [Autotest][PATCH] KVM Test: Update qemu-ifup script to set bridge's forwarding delay to 0.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2010-05-10 at 15:41 +0800, Feng Yang wrote:
> Our pxe case always fail. The problem is that the bridge takes some time 
> to enter the forwarding state. Before that, packages are simply dropped by
> the bridge.
> If one sets:
> $ brctl setfd <bridge> 0 # forward delay = 0
> 
> It works.

Also, per Dor's recommendation, set STP to 'off'. Commited with small
changes:

http://autotest.kernel.org/changeset/4493


> Signed-off-by: Feng Yang <fyang@xxxxxxxxxx>
> ---
>  client/tests/kvm/scripts/qemu-ifup |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/client/tests/kvm/scripts/qemu-ifup b/client/tests/kvm/scripts/qemu-ifup
> index bcd9a7a..3d23fb4 100755
> --- a/client/tests/kvm/scripts/qemu-ifup
> +++ b/client/tests/kvm/scripts/qemu-ifup
> @@ -6,3 +6,4 @@ switch=$(/usr/sbin/brctl show | awk 'NR==2 { print $1 }')
>  
>  /sbin/ifconfig $1 0.0.0.0 up
>  /usr/sbin/brctl addif ${switch} $1
> +/usr/sbin/brctl setfd ${switch} 0


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux