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=djFUwyWN; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTP id 9772F5A004E for ; Mon, 16 Sep 2024 14:16:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1726488966; 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=c45L63W4YkT/FwVjsRpVpxN0faP0RIfs8poR5RgPkbY=; b=djFUwyWNSoVqlCSV5Cs5gn9h/gSy1wkmBsT0zeuj7OqPIsUIFfo8GwnYVF20lR8eymJkPK F+h3+OCLwqg2sheRt+hjck7vRHwWCKOEhIFwmVUWYZLqYcJSMUlBvFHsUDt3mvdRpwGyHi TY+r9PTMsn243XpwFcZBX/J085dznSU= Received: from mx-prod-mc-05.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-160-V9s0xYLIMBWMlksgKbOmdA-1; Mon, 16 Sep 2024 08:16:05 -0400 X-MC-Unique: V9s0xYLIMBWMlksgKbOmdA-1 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (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-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 4B5A41955E9D for ; Mon, 16 Sep 2024 12:16:04 +0000 (UTC) Received: from lenovo-t14s.redhat.com (unknown [10.39.193.55]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 31CAF195605A; Mon, 16 Sep 2024 12:16:02 +0000 (UTC) From: Laurent Vivier To: passt-dev@passt.top Subject: [PATCH 0/2] Allow UDP and TCP checksum to be disabled Date: Mon, 16 Sep 2024 14:15:59 +0200 Message-ID: <20240916121601.3655517-1-lvivier@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 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: HX5IODP6ZORZLGJSNKFGGDT7DHAKVVG7 X-Message-ID-Hash: HX5IODP6ZORZLGJSNKFGGDT7DHAKVVG7 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 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