xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@eu.citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [xen-4.0-testing test] 2045: regressions - FAIL
Date: Tue, 31 Aug 2010 19:49:05 +0100	[thread overview]
Message-ID: <1283280545.3469.71.camel@localhost.localdomain> (raw)
In-Reply-To: <19581.17874.163340.458712@mariner.uk.xensource.com>

On Tue, 2010-08-31 at 19:11 +0100, Ian Jackson wrote:
> Ian Campbell writes ("Re: [Xen-devel] [xen-4.0-testing test] 2045: regressions - FAIL"):
> > On Tue, 2010-08-31 at 15:35 +0100, Ian Jackson wrote:
> > > [Ian C:]
> > > > did this by adding
> > > >         net.ipv4.conf.default.arp_notify = 1
> > > > to /etc/sysctl.conf and that seemed to do the trick.
> > > 
> > > I think this is a bug.  I think the default should be for something to
> > > send this gratuitous arp and the most logical answer in the PV or
> > > PV-on-HVM case is the domU.
> > 
> > This is the upstream default, not something we control directly from
> > netfront etc.
> 
> Um, I'm not sure I follow.  The situation when we need to do
> gratuitous arp is after save/restore or migration.  This is somewhat
> analogous to hibernation/suspend, except that hibernation/suspend
> pretty much assumes that the system was previously not running, not
> previously on a different switch port etc.
> 
> Perhaps netfront needs to do something special.

When netfront was upstreamed we were asked to remove the explicit
gratuitous ARP sending code from the driver and to instead use the
network stack provided functionality -- this is the arp_notify hooks
which we already call as appropriate from netfront but as I said it is
disabled upstream by default.

It's possible that someone should have a go at upstreaming a patch to
enable arp_notify by default or to make notifications triggered by
netif_notify_peers() not gate on the arp_notify sysctl or something.
like that. I don't think just enabling arp_notify by default will fly --
there are other triggers for that path such as interfaces coming up.

Ian.

  reply	other threads:[~2010-08-31 18:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-25 14:21 [xen-4.0-testing test] 2045: regressions - FAIL xen.org
2010-08-25 15:40 ` Pasi Kärkkäinen
2010-08-25 18:25   ` Ian Jackson
2010-08-26  7:06     ` Ian Campbell
2010-08-31 14:35       ` Ian Jackson
2010-08-31 15:05         ` Ian Campbell
2010-08-31 15:10           ` Ian Jackson
2010-08-31 18:11           ` Ian Jackson
2010-08-31 18:49             ` Ian Campbell [this message]
2010-09-17 14:09           ` Jan Beulich

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=1283280545.3469.71.camel@localhost.localdomain \
    --to=ian.campbell@eu.citrix.com \
    --cc=Ian.Jackson@eu.citrix.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 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).