All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Hutchings <bhutchings@solarflare.com>
To: Laszlo Ersek <lersek@redhat.com>
Cc: netdev@vger.kernel.org,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: lost gARP after live migration
Date: Tue, 28 Jun 2011 15:14:15 +0100	[thread overview]
Message-ID: <1309270455.3093.1579.camel@localhost> (raw)
In-Reply-To: <4E09D0A0.1080107@redhat.com>

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.

      parent reply	other threads:[~2011-06-28 14:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-28 13:01 lost gARP after live migration Laszlo Ersek
2011-06-28 13:03 ` Paolo Bonzini
2011-06-28 13:33 ` Ian Campbell
2011-07-11 14:22   ` [PATCH] xen-netfront: delay gARP until backend switches to Connected Laszlo Ersek
2011-07-12 18:19     ` Konrad Rzeszutek Wilk
2011-07-13 11:44       ` [PATCH v2] " Laszlo Ersek
2011-07-13 13:29         ` Konrad Rzeszutek Wilk
2011-07-13 16:11           ` [PATCH v3] " Laszlo Ersek
2011-07-14  7:44             ` Ian Campbell
2011-06-28 14:14 ` Ben Hutchings [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1309270455.3093.1579.camel@localhost \
    --to=bhutchings@solarflare.com \
    --cc=lersek@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.