From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=BUdF741E; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTPS id B6BCE5A0627 for ; Tue, 18 Feb 2025 16:30:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1739892638; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CFZzjjm1AEYfwOwaMMfPo4Ir8lP4ySsGuzaovDO/dzs=; b=BUdF741EstMmXRNHkFaB04gTTU+cEaG2Ve8G7tp/6aAjrR4e07GZLc0DzYkx92+KH4Va0+ Y9woQeh2LbH4QbrWb4DTc497l/M3nI4ouNHLcttHtbI3Aj2v6QWfn+vpsm5mxkwTKToxfB 5tWqPu2leWjMzdxboSKyNgLGwdq9AFw= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-427-iZ-CTpIQN3Sbusl5cStoMw-1; Tue, 18 Feb 2025 10:30:37 -0500 X-MC-Unique: iZ-CTpIQN3Sbusl5cStoMw-1 X-Mimecast-MFC-AGG-ID: iZ-CTpIQN3Sbusl5cStoMw_1739892636 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-439870ceef3so10723195e9.1 for ; Tue, 18 Feb 2025 07:30:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739892635; x=1740497435; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CFZzjjm1AEYfwOwaMMfPo4Ir8lP4ySsGuzaovDO/dzs=; b=Bu/i3vaHwu6IyqXDlT39ah4V+R//IXNlhsr6ovWD2miw3CcgbN/aqE3UTa7cD8cYal SGBiSbfP9Xv2raGY+SuYmTcpohFnMdztUkbB8aYjREh6oxuMl1EyoNqMcTdCTnHgMqsZ LFolXi6huVpfZaN/F1K4JHSrDogLiQTksDUEWPCLLWVbXXVVj/QW5ywxTOHSxK3LYD/C EAf3ve6Sqxc64USsTKW5xsVSIGmxVOmd011tJ+g7qUgHSV4eHQZXZkD8SZxZRcuzT/m2 oqkk0NFJ9eJD2weHKBmAVO3dUaoEGKZe2ILjwAB/lYDAie9aJR4OA8sTrHbGNBfBKt31 eVKQ== X-Gm-Message-State: AOJu0YxM58fzQbvwGl7dDx4v/Jh52mFV25cv9ZbH1gITFQgjwbENslOk vNu0RNVekff/USZliGqH5Di3xzPCt0eNmdNoTMRM7ad2zEQvOHFKdXGtORO9ytZBzFM4fCSDUtM 2a8hbwBR4fuv+TzwTN1e+ZHE1xcWUcWOTHdQ/OL6Pf/puRr3YL0Uogh/Trw== X-Gm-Gg: ASbGnct1cLLGoN0aU7c+XkA9+N2jlZ5qtWJS6D6jc3MWsq6dHHqA+kz9ICYHmHTmlpu 7deMN+i502yvPhwYtNIOJBsvtxdouvAHVyh0E4by6DUUBrzr/ZZSFMseNs54FoDeHPxJUM74s6l H0jpQk1ovh89L3jVCQYBrmry/UJemGx8bqUnjrvMhdLYY7TjQ9n9oLolHo5UEl7CBtWskPm8B1p wpPqKB8lZ1iksStMvm13w2T4lX4DvtmxDExvI0A/EbFAsn19V/BIAHniUQwvmxvd+YSk3xaoH9W Op5FJ33mPdmljMzRfdwQ6euW2dtDvIy3eA== X-Received: by 2002:a05:600c:19ce:b0:439:873a:111b with SMTP id 5b1f17b1804b1-43999da6f3emr626235e9.12.1739892635379; Tue, 18 Feb 2025 07:30:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKNZJyR1XkTJmI4aWKA5ldVKdATFqkVvs7n8ZGK+/JQQQNT/mfYWzodoJXHCp/rtYjIx8cnQ== X-Received: by 2002:a05:600c:19ce:b0:439:873a:111b with SMTP id 5b1f17b1804b1-43999da6f3emr625865e9.12.1739892634914; Tue, 18 Feb 2025 07:30:34 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38f258fc8b4sm15490928f8f.50.2025.02.18.07.30.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Feb 2025 07:30:34 -0800 (PST) Date: Tue, 18 Feb 2025 16:30:29 +0100 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH 3/4] tcp: Don't pass both flow pointer and flow index Message-ID: <20250218163029.47e5f064@elisabeth> In-Reply-To: <20250218085924.2627517-4-david@gibson.dropbear.id.au> References: <20250218085924.2627517-1-david@gibson.dropbear.id.au> <20250218085924.2627517-4-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Nk4fTBuLO0eZCEQgI9gqBjAoHVEMZBLt-r4doxZg58o_1739892636 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: F3H6WI3YRHET2ARF7W5ZDS56ISTU3BVK X-Message-ID-Hash: F3H6WI3YRHET2ARF7W5ZDS56ISTU3BVK X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Tue, 18 Feb 2025 19:59:23 +1100 David Gibson 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