From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202508 header.b=RZ3Uxi+M; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id EDF615A0275 for ; Fri, 03 Oct 2025 08:30:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202508; t=1759473055; bh=PQPjt8yPww5BoLh9um/EWISaZ9XNswqaPy66YwHHcng=; h=From:To:Cc:Subject:Date:From; b=RZ3Uxi+Mv1ZyUrsvWRXPGRpdpVmv326Jk4fFGQ8GwBUiuyZFUqVZyXELGCx9mbjD5 H58tgVTyXW8FvmwJCXX7immhtXWMfud3k0R9EuqXnay6LD6Pruvr9lJHxtbWzeKqSZ vzEIjp4+knOg6W1SmibIi4AdMI9N+bP1/Kz3AARks44zjQCyNnBziAtcVldZ7sXclf 27TZ3FnlO0Jns2TYYGRHOHY0hRRRgick/vuMFhVsZL8UA6whoYoURsoytkeDGAhy+P IxP8fm0zu9iDx7KC1aHFKZTVl8vcFZAAB1oy8KkxcItJ1710kQV71WDWbV0lOsVeNg T4DAC22Cfkqgg== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4cdJhH2rv4z4wBF; Fri, 3 Oct 2025 16:30:55 +1000 (AEST) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 0/1] RFC: Clarifying seq_ack_to_tap logic Date: Fri, 3 Oct 2025 16:30:50 +1000 Message-ID: <20251003063051.1127873-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.51.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 45YJ3HMPL676ETFAVB6VI5BAJRW3XCWC X-Message-ID-Hash: 45YJ3HMPL676ETFAVB6VI5BAJRW3XCWC X-MailFrom: dgibson@gandalf.ozlabs.org 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: David Gibson 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: Prompted by the discussion on Stefano's recent TCP fixes, here's change I think clarifies our logic. This goes on top of my linter fixes (specifically the cppcheck suppression in the vicinity) but before Stefano's TCP fixes. Happy to have it folded into those TCP fixes, or reorganised around them. Stefano, please review my large comment. I'm confident on some of the points in there, but not all of them. David Gibson (1): tcp: Clarify logic calculating how much guest data to ack tcp.c | 68 ++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 26 deletions(-) -- 2.51.0