[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1309270455.3093.1579.camel@localhost>
Date: Tue, 28 Jun 2011 15:14:15 +0100
From: Ben Hutchings <bhutchings@...arflare.com>
To: Laszlo Ersek <lersek@...hat.com>
Cc: "xen-devel@...ts.xensource.com" <xen-devel@...ts.xensource.com>,
netdev@...r.kernel.org, Paolo Bonzini <pbonzini@...hat.com>
Subject: Re: lost gARP after live migration
On Tue, 2011-06-28 at 15:01 +0200, Laszlo Ersek wrote:
[...]
> When the guest waits for about half a second before sending (queueing),
> the very first gARP packet successfully appears on the host bridge.
>
> I suspect it's a timing race against the netback vif being added to the
> host bridge. What would be a good countermeasure?
>
> - Adding two modparams to xen-netfront (gARP requeue count & number of
> msecs to wait between queueing the gARPs).
Note that peer notifications are indirected through netdev notifiers and
now include IPv6 NAs as well as ARPs. If repeated notifications are
commonly necessary then this should probably be handled in the protocol
(or in the networking core). However this sounds like a workaround
whereas your other option would be a proper fix:
> - (Paolo's idea:) watching the "hotplug-status" xenstore node and
> sending a single gARP when the watch fires with "connected". This node
> belongs to the backend xenstore subtree, thus watching it from the guest
> doesn't please the architecture astronaut in me.
[...]
--
Ben Hutchings, Senior Software Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists