From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 75B985A0082 for ; Thu, 5 Jan 2023 06:45:46 +0100 (CET) Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4Nnb6Z1CWFz4y0W; Thu, 5 Jan 2023 16:45:42 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1672897542; bh=pSnNBsAWb/km04ixwAvO3y8jLJd3I0amlHAZhjKazPw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Gm++4+l8qsx687ZVQmSZb2lPhyUDon1tdIq6emKYdDdYRjhjxuETL/VjaSZ6iPu0j rpjZN7GZvKyy3dP5GXhR8WSXFqkSDWBPoVE2cTVsoq5YXVMV0xN1S3IgEliaPs1QqP eHcNsZT0dstWf7CqvbLwIAoj1UUNAmgMfFEPABeE= Date: Thu, 5 Jan 2023 15:48:22 +1100 From: David Gibson To: Stefano Brivio Subject: Re: [PATCH v2 04/18] tcp: Don't keep compute total bytes in a message until we need it Message-ID: References: <20221209054228.4085990-1-david@gibson.dropbear.id.au> <20221209054228.4085990-5-david@gibson.dropbear.id.au> <20230104184508.24a04188@elisabeth> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oq6rkzucFLAB6Xts" Content-Disposition: inline In-Reply-To: <20230104184508.24a04188@elisabeth> Message-ID-Hash: BFSFIYQ2D7AEHVUYT3CYDBGZULQ2PKKV X-Message-ID-Hash: BFSFIYQ2D7AEHVUYT3CYDBGZULQ2PKKV 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: passt-dev@passt.top X-Mailman-Version: 3.3.3 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: --oq6rkzucFLAB6Xts Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 04, 2023 at 06:45:08PM +0100, Stefano Brivio wrote: > On Fri, 9 Dec 2022 16:42:14 +1100 > David Gibson wrote: >=20 > > tcp[46]_l2_buf_bytes keep track of the total number of bytes we have > > queued to send to the tap interface. tcp_l2_buf_flush_passt() uses this > > to determine if sendmsg() has sent all the data we requested, or whether > > we need to resend a trailing portion. >=20 > In the subject: s/compute/computed/. Fixed. --=20 David Gibson | 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 --oq6rkzucFLAB6Xts Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoULxWu4/Ws0dB+XtgypY4gEwYSIFAmO2VpAACgkQgypY4gEw YSIbJQ//UjYh8SH2YdZrO11nYfInvs2972jhQhDyvkapjSLLvN5EZ0hiWzhx3GUk ycln02WU0iycXAq6kEtX2OeO/Ko3cdM5VojxdAlvjZSeVJg3LwXfawraINMSKoLh D0tGnjzgC5iNoF821TlVwuHCk1gutzTzGR95dYKx3LG+OF/OH/08VYW1MQuP6dKy AKlx1ipkcNETPzo2p1/E+4jz4qe3Hn1Bu+llNcUOUZRzAS5fP9bDqFfoj2CS16yn a3yjbNAJaJSlnOIGqWPOjOSEV9Im1I8l5gUrn9TY+xHXYTpTDW0mVhCt3j+L8TiF 3U2YU2PSpDnDonotG6yMbzWcrPEo2Cn8R+cwOpe4bzcTirkd5JV0hBXGiu65r43V P+RvC45X+DVJjFNV8JvylLsG9xwSydLyT9fYP0EimNNfKW+xB6PNZDLZSi3bzAvJ V1/DkK7QaOGgokD/lfS0Qkux0TAkY4IOu0avU2xrspXMYTVl8KRZGu86gcv3WJ4j 7772JJK58omkWxw0+EVdAvXqeCU+qjmQq7mt1uA2DpqjjnvhiqrFcUUPDG63LjNK GIXEytWHzXlEu9ShAQwfrAT+IjsUvivBYHvrVi/hporkLniWGwSOFtfFAF0M3lqe eIDHjg18Q11CntVU29YnDIVmDi6aPyp+aGJDDCeT9jPOKgrwMvI= =sxs3 -----END PGP SIGNATURE----- --oq6rkzucFLAB6Xts--