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=Fhg16YN8; 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 979525A004C for ; Tue, 17 Sep 2024 09:31:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1726558263; 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=mpDkC/bTbCWgqZfWqasypr+r5stwPgKjAPspkY+2R1A=; b=Fhg16YN8E0mIpgl40VVPl3svIta+JnMFZhxr3u5ANsjcdnaxVMxyj328tvpAjXGn+5xSEb mofOzLkxRnIlvWC6arNJgyICB0xb2AX7tC3doEgah8yDalJ8f3S/M1kifoQoPQ4VuQ0VfW 0qKENoAX0ossYmuP3yu7zjXsdajJ+AY= Received: from mx-prod-mc-04.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-695-7PvqKNS5PM6wdPqf9fg-4w-1; Tue, 17 Sep 2024 03:31:02 -0400 X-MC-Unique: 7PvqKNS5PM6wdPqf9fg-4w-1 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (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-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 536E319560B0 for ; Tue, 17 Sep 2024 07:31:01 +0000 (UTC) Received: from lenovo-t14s.redhat.com (unknown [10.39.193.4]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id F22D219560A3; Tue, 17 Sep 2024 07:30:59 +0000 (UTC) From: Laurent Vivier To: passt-dev@passt.top Subject: [PATCH v2 0/2] Allow UDP and TCP checksum to be disabled Date: Tue, 17 Sep 2024 09:30:56 +0200 Message-ID: <20240917073058.3666887-1-lvivier@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 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: SSUUT7NPJOYOAO7X2VQZJJLVCNBTOPI4 X-Message-ID-Hash: SSUUT7NPJOYOAO7X2VQZJJLVCNBTOPI4 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 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 | 24 +++++++++++++++++-------=0D tcp_buf.c | 8 +++++---=0D tcp_internal.h | 3 ++-=0D udp.c | 41 +++++++++++++++++++++++++++++++----------=0D 4 files changed, 55 insertions(+), 21 deletions(-)=0D =0D --=20=0D 2.46.0=0D =0D