From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTP id EA59A5A005E for ; Wed, 4 Jan 2023 18:45:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672854316; 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=VaVyKtKeOQdQVnM7lqo6PDKZH/6RbrwvlY5L6spzMgU=; b=Fh+ZJ352BY5/jQ1RjlIYNuGipNqKgrewDS52nnYcSGcpZoOi79ANfQQ/e2JEmlLF2SSZcm hnN3jdRdxSf2FdX5omRJzSOvbJ6psZ/UoBRJAS9Fp/64kIz0ltl4n8T0ZCQEujD00Pgej1 6Q4lABDqOtJ+PdIT74WmiySxZ0Tp2VU= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-35-wCwgv8_vMNq8jUdaYYDu-w-1; Wed, 04 Jan 2023 12:45:12 -0500 X-MC-Unique: wCwgv8_vMNq8jUdaYYDu-w-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 39E1F1C0A586; Wed, 4 Jan 2023 17:45:12 +0000 (UTC) Received: from maya.cloud.tilaa.com (ovpn-208-4.brq.redhat.com [10.40.208.4]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 070B3492B06; Wed, 4 Jan 2023 17:45:12 +0000 (UTC) Date: Wed, 4 Jan 2023 18:45:08 +0100 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH v2 04/18] tcp: Don't keep compute total bytes in a message until we need it Message-ID: <20230104184508.24a04188@elisabeth> In-Reply-To: <20221209054228.4085990-5-david@gibson.dropbear.id.au> References: <20221209054228.4085990-1-david@gibson.dropbear.id.au> <20221209054228.4085990-5-david@gibson.dropbear.id.au> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: 3CUOILPTED6MIBNWKVEBLYRAABGDX3GA X-Message-ID-Hash: 3CUOILPTED6MIBNWKVEBLYRAABGDX3GA 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.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: On Fri, 9 Dec 2022 16:42:14 +1100 David Gibson wrote: > 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. In the subject: s/compute/computed/. -- Stefano