* [Autotest][PATCH] KVM Test: Update qemu-ifup script to set bridge's forwarding delay to 0.
@ 2010-05-10 7:41 Feng Yang
2010-05-17 20:44 ` Lucas Meneghel Rodrigues
0 siblings, 1 reply; 2+ messages in thread
From: Feng Yang @ 2010-05-10 7:41 UTC (permalink / raw)
To: autotest; +Cc: kvm, Feng Yang
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.
Signed-off-by: Feng Yang <fyang@redhat.com>
---
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
--
1.5.5.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Autotest][PATCH] KVM Test: Update qemu-ifup script to set bridge's forwarding delay to 0.
2010-05-10 7:41 [Autotest][PATCH] KVM Test: Update qemu-ifup script to set bridge's forwarding delay to 0 Feng Yang
@ 2010-05-17 20:44 ` Lucas Meneghel Rodrigues
0 siblings, 0 replies; 2+ messages in thread
From: Lucas Meneghel Rodrigues @ 2010-05-17 20:44 UTC (permalink / raw)
To: Feng Yang; +Cc: autotest, kvm, Dor Laor
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@redhat.com>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-17 20:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-10 7:41 [Autotest][PATCH] KVM Test: Update qemu-ifup script to set bridge's forwarding delay to 0 Feng Yang
2010-05-17 20:44 ` Lucas Meneghel Rodrigues
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).