From: David Gibson <david@gibson.dropbear.id.au>
To: Stefano Brivio <sbrivio@redhat.com>
Cc: Volker Diels-Grabsch <v@njh.eu>, passt-dev@passt.top
Subject: Re: [PATCH v2] Send an initial ARP request to resolve the guest IP address
Date: Wed, 10 Sep 2025 13:33:48 +1000 [thread overview]
Message-ID: <aMDxnG2q8D4xInTp@zatzit> (raw)
In-Reply-To: <20250909175530.7fc950bc@elisabeth>
[-- Attachment #1: Type: text/plain, Size: 2049 bytes --]
On Tue, Sep 09, 2025 at 05:55:30PM +0200, Stefano Brivio wrote:
> On Tue, 9 Sep 2025 12:10:45 +0200
> Volker Diels-Grabsch <v@njh.eu> wrote:
>
> > David Gibson wrote:
> > > Looks good to me. It would be nice to also send an Neighbour
> > > Discovery request to accomplish the same thing for IPv6 only guests,
> > > but that could be a separate patch.
> >
> > Good point! I'd prefer to do it in the same patch, as I'd also like
> > fix another minor detail in this one.
> >
> > Just for the sake of clarity: I had a look at RFC4861 and there are
> > many types of Neighbour Discovery requests. For our purpose, I believe
> > that we want to send a "Neighbor Solicitation Message" described in
> > section 4.3:
> >
> > https://datatracker.ietf.org/doc/html/rfc4861#section-4.3
> >
> > Do you agree, or did you have something else in mind?
>
> I was about to comment on this, but from the new patch you sent, I see
> you already figured out it's a Neighbour Solicitation and that we
> already have some bits of code for that. :)
>
> > > Note that even with this patch, active TCP connections (and in some
> > > cases UDP flows) will be broken by a passt restart.
> >
> > Indeed, that is unavoidable for a user-space tool opening TCP and UDP
> > connections, I guess, unless "passt" itself is wrapped into another
> > process or system tool that keeps those connections open. But let's
> > not go into that.
>
> Actually, it's not really unavoidable, in the sense that we recently
> added (see migrate.c, repair.c, passt-repair.c, and passt-repair(1))
> support for migration of live TCP connections triggered by vhost-user
> commands:
Right, but doing this requires knowing in advance, support from qemu
and a bunch of infrastructure. It's not going to work if you just
kill and restart passt.
--
David Gibson (he or they) | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you, not the other way
| around.
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2025-09-10 3:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-07 11:01 [PATCH] " Volker Diels-Grabsch
2025-09-08 4:00 ` David Gibson
2025-09-08 9:12 ` [PATCH v2] " Volker Diels-Grabsch
2025-09-08 9:22 ` Volker Diels-Grabsch
2025-09-09 2:52 ` David Gibson
2025-09-09 10:10 ` Volker Diels-Grabsch
2025-09-09 14:49 ` Volker Diels-Grabsch
2025-09-09 14:49 ` [PATCH] Send an initial ARP and NDP request to resolve the guest IP address Volker Diels-Grabsch
2025-09-10 3:32 ` David Gibson
2025-09-10 9:29 ` Stefano Brivio
2025-09-10 10:33 ` Volker Diels-Grabsch
2025-09-10 14:01 ` Stefano Brivio
2025-09-09 15:55 ` [PATCH v2] Send an initial ARP " Stefano Brivio
2025-09-10 3:33 ` David Gibson [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=aMDxnG2q8D4xInTp@zatzit \
--to=david@gibson.dropbear.id.au \
--cc=passt-dev@passt.top \
--cc=sbrivio@redhat.com \
--cc=v@njh.eu \
/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.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
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 IMAP folder(s).