public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: passt-dev@passt.top
Subject: Re: [PATCH 3/4] tcp: Don't pass both flow pointer and flow index
Date: Tue, 18 Feb 2025 16:30:29 +0100	[thread overview]
Message-ID: <20250218163029.47e5f064@elisabeth> (raw)
In-Reply-To: <20250218085924.2627517-4-david@gibson.dropbear.id.au>

On Tue, 18 Feb 2025 19:59:23 +1100
David Gibson <david@gibson.dropbear.id.au> wrote:

> -	struct tcp_tap_transfer_ext *t = &migrate_ext[fidx];
> +	struct tcp_tap_transfer_ext *t = &migrate_ext[FLOW_IDX(conn)];

Ah, right, of course, that's how it's done!

-- 
Stefano


  reply	other threads:[~2025-02-18 15:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-18  8:59 [PATCH 0/4] Assorted small fix ups David Gibson
2025-02-18  8:59 ` [PATCH 1/4] tcp: More type safety for tcp_flow_migrate_target_ext() David Gibson
2025-02-18  8:59 ` [PATCH 2/4] tcp: Remove spurious prototype for tcp_flow_migrate_shrink_window David Gibson
2025-02-18  8:59 ` [PATCH 3/4] tcp: Don't pass both flow pointer and flow index David Gibson
2025-02-18 15:30   ` Stefano Brivio [this message]
2025-02-18  8:59 ` [PATCH 4/4] flow: Add flow_perror() helper David Gibson
2025-02-18 15:31 ` [PATCH 0/4] Assorted small fix ups Stefano Brivio

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=20250218163029.47e5f064@elisabeth \
    --to=sbrivio@redhat.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=passt-dev@passt.top \
    /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).