public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Stefano Brivio <sbrivio@redhat.com>
Cc: passt-dev@passt.top
Subject: Re: [PATCH 1/2] migrate: Merge protocol version information into one table
Date: Fri, 31 Jan 2025 17:17:02 +1100	[thread overview]
Message-ID: <Z5xq3nIsEDPHITkH@zatzit> (raw)
In-Reply-To: <20250131065344.1f440c01@elisabeth>

[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]

On Fri, Jan 31, 2025 at 06:53:44AM +0100, Stefano Brivio wrote:
> On Fri, 31 Jan 2025 15:52:14 +1100
> David Gibson <david@gibson.dropbear.id.au> wrote:
> 
> > +/**
> > + * struct migrate_meta - Migration metadata
> > + * @version:		Version number, host order
> > + * @v:			Version information
> > + * @bswap:		Source has opposite endianness
> > + * @peer_64b:		Source uses 64-bit void *
> > + * @time_64b:		Source uses 64-bit time_t
> > + * @flow_size:		Size of union flow in source
> > + * @flow_sidx_size:	Size of struct flow_sidx in source
> > + */
> > +struct migrate_meta {
> > +	uint32_t version;
> > +	const struct migrate_version *v;
> > +	bool bswap;
> > +	bool source_64b;
> > +	bool time_64b;
> > +	size_t flow_size;
> > +	size_t flow_sidx_size;
> > +};
> 
> What's the purpose of this, if this information should go away quite
> soon (even before merge, perhaps)?

Soon, but not yet.  I don't want to break the stuff you're working on
until I have something else to replace it.

-- 
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 --]

  reply	other threads:[~2025-01-31  6:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-31  4:52 [PATCH 0/2] Fancier version handling for migration David Gibson
2025-01-31  4:52 ` [PATCH 1/2] migrate: Merge protocol version information into one table David Gibson
2025-01-31  5:53   ` Stefano Brivio
2025-01-31  6:17     ` David Gibson [this message]
2025-01-31  4:52 ` [PATCH 2/2] migrate: More sophisticated versioning David Gibson
2025-01-31  5:53   ` Stefano Brivio
2025-01-31  6:21     ` David Gibson

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=Z5xq3nIsEDPHITkH@zatzit \
    --to=david@gibson.dropbear.id.au \
    --cc=passt-dev@passt.top \
    --cc=sbrivio@redhat.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.
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).