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=h7OaLO5Y; 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 ESMTP id BAEC65A004E for ; Wed, 18 Sep 2024 15:13:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1726665212; 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; bh=wlyl1dvx27AEWdETnsdnIeUWstEk0HkjlefPnbIpLA0=; b=h7OaLO5Yh1JM7jhYJWJn/z22MB8JcGr9PcwMd/OiYwuq+8shgWuUR5OAorVAqUYJol39Rp 46NjhfrNH3wlbZo+GBrZmkMt+AqC/attE4YZhdDfXFbMNi6TMg0LoP4jE15Dd/wr4g96LT nAvdpewnr9KtfXXrH5ycW0wOi28GIdM= Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-391-mKzhclnRP42vixLghTu-TA-1; Wed, 18 Sep 2024 09:13:31 -0400 X-MC-Unique: mKzhclnRP42vixLghTu-TA-1 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7D972195395A for ; Wed, 18 Sep 2024 13:13:30 +0000 (UTC) Received: from lenovo-t14s.redhat.com (unknown [10.39.192.169]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 60DF91956086; Wed, 18 Sep 2024 13:13:29 +0000 (UTC) From: Laurent Vivier To: passt-dev@passt.top Subject: [PATCH v3 0/2] Allow UDP and TCP checksum to be disabled Date: Wed, 18 Sep 2024 15:13:26 +0200 Message-ID: <20240918131328.3763510-1-lvivier@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID-Hash: WNVFEQMCYABWM3NXQUN3KKMNWFUUPBVR X-Message-ID-Hash: WNVFEQMCYABWM3NXQUN3KKMNWFUUPBVR X-MailFrom: lvivier@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: Laurent Vivier 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: With vhost-user we can disable the checksum of UDP and TCP.=0D =0D Add a generic parameter for each of them to disable the=0D checksum.=0D =0D v3: align parameters description with tab=0D s/O/0/=0D =0D v2: s/UPD/UDP/=0D Add David's R-b in PATCH 2=0D =0D Laurent Vivier (2):=0D udp: Allow checksum to be disabled=0D tcp: Allow checksum to be disabled=0D =0D tcp.c | 52 ++++++++++++++++++++++++++------------------=0D tcp_buf.c | 8 ++++---=0D tcp_internal.h | 3 ++-=0D udp.c | 58 ++++++++++++++++++++++++++++++++++----------------=0D 4 files changed, 78 insertions(+), 43 deletions(-)=0D =0D --=20=0D 2.46.0=0D =0D