🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #13823

Re: [PATCH net v5 0/2] xsk: fix multi-buffer TX software checksum

#13823
From: patchwork-bot+netdevbpf
Date: Tue, 10 Nov 2026 11:20
30 lines
9011 bytes
Hello:

This series was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Wed,  4 Nov 2026 11:48:07 +0800 you wrote:
> This is v5 of the AF_XDP multi-buffer TX software checksum fix.
> 
> I found this while testing multi-buffer TX with XDP_UMEM_TX_SW_CSUM: a
> two-descriptor packet had a bad wire checksum, while a single descriptor
> was correct. There was no production or syzbot report.
> 
> Patch 1 moves the software checksum calculation from xsk_skb_metadata() to
> the point where the last descriptor has been added to the skb.  The old
> code calculated the checksum after the first descriptor, so multi-buffer
> packets only included the first fragment in the checksum.
> 
> [...]

Here is the summary with links:
  - [net,v5,1/2] xsk: defer software checksum until the skb is complete
    https://git.kernel.org/netdev/net/c/f2eddafbfcc0
  - [net,v5,2/2] selftests/bpf: cover AF_XDP multi-buffer TX software checksum
    https://git.kernel.org/netdev/net/c/c112921763e7

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179430960617.3882254.727568151015351636.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360110-linux-kernel-netdev=dewy.ru
References: <20261104034809.24545-1-testwrzwrz@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360110-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v5 0/2] xsk: fix multi-buffer TX software checksum
Date: Tue, 10 Nov 2026 11:20:06 +0000
Organization: Usenet Network
Message-ID: <179430960617.3882254.727568151015351636.git-patchwork-notify@kernel.org>
References: <20261104034809.24545-1-testwrzwrz@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="591358"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:04Fft55Oh9lxBztFLh5NeDJEpXA= sha256:8BRc9ZMsSQ9dAMG/yT22nXAqmmzwWfFdhARR7lYAIWY=
	sha1:eUHxy7+rIE5KZ93qYwS0FtrZ/1w= sha256:Lt8WZp9yc4AiqcR+cG/jL3jSowVj/8+LiALPNU/Jq7s=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 018A5113B1E; Tue, 10 Nov 2026 14:22:14 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id IX0bUEC8Qgy2;
	Tue, 10 Nov 2026 14:22:10 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-360110-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id A9BF6113B1B; Tue, 10 Nov 2026 14:22:02 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 4916860B947; Tue, 10 Nov 2026 11:20:21 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794309619;
	b=dQnVhY0D841m6I9folh2OfRDjFjVvzqP4mdfSwUytkpgAs58mbpHELoo1PW66GL8UOC/
	 ptEc+MVY9l04AweKYZd5himC1Rt+1HuxHci07XmNkeqIciqPJlfeW+xnIx9zvLO8JyFLF
	 Ne1UBffx7so0gW6Z2I3OzBaMzWeZIA31poaiTQ9xLlV+4ipcB+nYw0xCqhwgx6HXG0hMO
	 FqE5yCimWXN6k/q2P/pGFHhA9VZha5dDPAKydKl6IBRGRDI+a6e3QY/gFxFhhJDMhzgv8
	 si7G58lgAzbTRH4vLZ75TUrqzI14LM9AXkvY7H7q8BXqHk1n7oII+Y0d24olP0s2vZg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794309619;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=P5LItDkofLGLIRMGwr48t7RGGDVxJcFzQKJIYZivfrQ=;
	b=YSOLCRuf1IWoWIolmD6BmzXnpD+eTIde1taIVjvgR7DHI+8a/Ke0Ek8FRk3/yw9xXwbv
	 Vx/vDfOU074PNgmaP5HzwszBwc1X2/p3++wXgYa97u9y/Nm5uU2QXgC2xqjTU8SuJysmN
	 pQRQ2DSYFph5jrJalnOIGPzxYErHTUTm/a0w7XI71gmfZaYWKrCF1DzTJPnfOD4uF2o/f
	 3cn3rkDoDpO/X9QhGQPl+Uh341uwJcOf4Ou3HolQ+PB9avddd0mTrhC+9JUNUK+0gE8Y0
	 gnMuH2/4L8LgI27uD8kmJtljZMskj4re++g3csA+eJO0K5YfXziUY9uvzE/Ez62IhmA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TRnjS46o;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 02458606A337;
	Tue, 10 Nov 2026 11:20:19 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TRnjS46o
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794309608;
	b=KZawiZ4nLiSUpSnPjv8JOQKJiBGTt5oJMICZqznEtVUMnhI493UOHsta0cONv40jZnLG
	 ve4vaUbhnbU7zEKJiUP8WWp/VUzsZOK4RsteLwrSbUpCub53p4SuDnz/Uq+/BJfCnNS9x
	 /maTSCtbP3W3akmnovnlAqsbqrxqjf90g+W3ONjzXLB80VOgG04V3+sAtSy+jW1PB3QMj
	 GZZyl9OaymsYVJuyayk5Gz+ozxlHn5DfyYF/LUTFpAqswFcO5ZiQHZYu9UvbzzUCYd5Jd
	 NeFXQWRhE8YhPKremTBnv33ymiORD5tLY61HvhvobFo3MGvTVaJ0GOFGeA3fXlLSTFQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794309608;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=P5LItDkofLGLIRMGwr48t7RGGDVxJcFzQKJIYZivfrQ=;
	b=R6BsxOgRoPi+2murWnYRe2/AiAOwKf5agIKkqdkhTICmcZVndDbJZXTSE5StC889rwoP
	 2rMhV4/W7LKW2Qh3IHAqucjgLnNkFEyjbCnBLW7gRQrvYvGh6PJvtcMMM3sA6OCXbCwCj
	 4auqxz5yTJrrL1wmzwgIpIo0QNP5qw7+wSWGaErwRO0SD8hbKwN084LJZx2ttTSvjdouT
	 yRbqBiX8bK9n8ldmTKGuyoVqi1pOq2DM+KUgepNccTzOH2WypycvUkd6gqYHptp3cwEGt
	 waxDHb5IpG3dnWdxUM7fdB6OIJTWtmthdiVwzYDhW4F8cS5QTJAYiXfrty3XZUtYEQQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TRnjS46o;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id C5D3C606A31C;
	Tue, 10 Nov 2026 11:20:07 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 672D81F0089F;
	Tue, 10 Nov 2026 11:20:07 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794309607;
	bh=P5LItDkofLGLIRMGwr48t7RGGDVxJcFzQKJIYZivfrQ=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=TRnjS46osjZE0KcJjgC14/NubVQMO3BVX1nvaJ1wXUzYEXR/sE0661S6Gv0NWphi0
	 GBqPJkj0MOa7iOKPYD87aT9TWk38oGdaOV5TcPC8FJJ3wk5JVvnjLgJ4SC7vrwXAip
	 ed8e1qcp4DDbanf8tPaMhfVpyvr8ockrj9RYJDlSlGgAAnbbn+aM5LyBH0Xd3jvDeY
	 lPp7kXuAtunEeji0cuzR3UFCI4uhYQVF4ldOz9G9kDDQxi7Ptb/jOBxBwsePcaqPmF
	 JCoWkium5qr9c4IVL1ciFAnWsYePksM/FFGW+0gceD4XS3gkA7hMdm/SaFoTP5TjBh
	 /JQUiPR1Vt+qg==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 5E073391B17B;
	Tue, 10 Nov 2026 11:20:07 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261104034809.24545-1-testwrzwrz@gmail.com>
X-Cc: netdev@vger.kernel.org, maciej.fijalkowski@intel.com,
 magnus.karlsson@intel.com, kerneljasonxing@gmail.com, sdf@fomichev.me,
 hawk@kernel.org, stable@vger.kernel.org, bpf@vger.kernel.org,
 linux-kernel@vger.kernel.org