🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8036

Re: [PATCH net] net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit

#8036
From: patchwork-bot+netdevbpf
Date: Tue, 27 Oct 2026 22:30
28 lines
9021 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 26 Oct 2026 14:46:39 +0100 you wrote:
> lan966x_fdma_xmit_xdpf() transmits both XDP_TX frames and xdp_frames
> from ndo_xdp_xmit, and builds the DB with
> lan966x_fdma_xdp_tx_dataptr_cb(), which adds XDP_PACKET_HEADROOM to the
> stored DMA address.
> 
> Before this patch, the headroom is also added for xdp_frames. For
> XDP_TX the stored address is the start of the page pool page, but for an
> xdp_frame it is the mapping of the IFH placed in front of the frame
> data, so frames from ndo_xdp_xmit are read from XDP_PACKET_HEADROOM
> bytes after their IFH.
> 
> [...]

Here is the summary with links:
  - [net] net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit
    https://git.kernel.org/netdev/net/c/ce3192e0dafa

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179314020904.360855.3604879146922588076.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352629-linux-kernel-netdev=dewy.ru
References: <20261026-lan966x-xdp-xmit-dataptr-v1-1-d0dd068324de@microchip.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352629-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: lan966x: fix the DB dataptr of frames from
 ndo_xdp_xmit
Date: Tue, 27 Oct 2026 22:30:09 +0000
Organization: Usenet Network
Message-ID: <179314020904.360855.3604879146922588076.git-patchwork-notify@kernel.org>
References: <20261026-lan966x-xdp-xmit-dataptr-v1-1-d0dd068324de@microchip.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1647188"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:K3ufWdH/TTl4tseBArD3Ojzquuo= sha256:TZ4BjbbqkJj+c6t2wT0nNkH6Dwwxof18msSHgcnH2wc=
	sha1:9z179iWVpvl9S0OTnP3urgK87IQ= sha256:nhzHlJbwZIvPbSp3uZ3EpB9Pak3M0E8aqxbJQ4Gugx8=
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 E391F125C29; Wed, 28 Oct 2026 01:31:49 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, 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 NimgcEEPZWbR;
	Wed, 28 Oct 2026 01:31:47 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-352629-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id D7BFB125C25; Wed, 28 Oct 2026 01:31:38 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 4C86B3009F; Tue, 27 Oct 2026 22:30:27 +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=1793140227;
	b=eoZT1xQqetMelXRkASEacOWf/ZT8ENh4Y7e128WNoU4ixL+GJV1KTcdmWw+YFbysYGfm
	 GXlPKRGjCyza5ERx+cHsp1rcrxir/WSkyK/KX2dkCz3DmYtYrnA3lPxvqMkwj73U/k1Pp
	 MvdaitEfZETJrqKq155yaFzKg2npZxSqcaduTX82mWyYakm65MmkI7CatB2eCv+27DVVh
	 fAzRI6FG9Xuh1VUJWE6z9qkGaoiENgj0VJIIJYf49bl7ok0prubiGp4NssNKT+We3iGhP
	 2Pj9di2a+THn0+apy/NOwKl1MpMLXeGFT35NMLGycMuLdj+9E40f0J3xY9nuOXm3ucA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793140227;
	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=fHlJ1wv5xEEQuy6wpLDTT9zC5ZVQRxUfazIXFu+TLHY=;
	b=va5ahgbNzrbwOtuoBKtCiOff0NfKZuQoSOFWGifWuFQhdfLCXgRHUjnLtsNpu/AY0ecm
	 zjCN+7BTTzavl/X4oQl8Ve4PcQAmeT+CxG48gjh8v+n6bZQLQ3+sUqwTPV2tO33HT0Rw7
	 019KKyTGLFkQhIttfRI9pCaRE9iuYyBwWkCbfUc4b60CV9r8+eK5fd92oTqR6W2t1gpzw
	 AjiPGdwZk+e9NQX0gpOsbiV6fX9cIhV9yvHqbzcnMDcD/rF0UFP6EXpjGIX8oZFMizkb9
	 jd/KjllfJwxOT59onLisj/+OVCrmClG4JNIYKbP4wrhtFAeij+j54yKhky9w2q4XNPw==
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=O9RJUtrE;
	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 0B5AF606A31D;
	Tue, 27 Oct 2026 22:30:27 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=O9RJUtrE
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=1793140210;
	b=ayLeY099qRTetXOlbY/dI1L2bhwVQP1DH114S9svbAs3775AbKIHkU3DOFInxsmDPmEi
	 ZHxjH3c59omVPogyFI2pvh5WP8cbHr/v0kPw21pOxiGRvQ0u5z4OFCRQT3bb5Nej+aHkZ
	 373c/QuOnKtEVExkNfuwr/F7cdQqXsffQyaR9sZCS8SBhITEwbU/MsVpBGMWpz1WXP47D
	 aBsygD/guM6zHeF/p8hPneWo+1zpGDmXg6EbQLRJLCzQOOFCaHFF/2gP0sq+ed697dVR+
	 wNqH6/ybpjF9CBdPEZQnzgXUGZ/Mi3pFXQLa2XexZ9+sLethrlSrGrDj4cIP0Mok8Gw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793140210;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=fHlJ1wv5xEEQuy6wpLDTT9zC5ZVQRxUfazIXFu+TLHY=;
	b=QtXQK4yg6GVa9e4k9Eu9n5jGY2LlJi+jvy+YEHn0ImSepVmfbAZlz2fAN7s9jbvOaKeU
	 a3pJKBjZO7rHq9mURTx4gghnJlBU1LYOQZN6+9OPCT/vu0TI05RxPsjwbOs9+p65hk5ye
	 ST1dR8nKukEYyXR/YZ2ukiF8pcRcqt7qTB0vST86dr2ycFhJc4r/ZH4Fm7JosQLNmWipF
	 c05PzNv+lCEpFcRErGYf7/rzA02+M9BMZmnH4XVcSDkfoxfORb6kSUL5ZrruQPyRcP9Q9
	 xsTVFF9IcS9JUieFHQ8XTJPPlua62hlj1DBpBOq9UxNF6fc+sfhclU1S84O+zMawRTg==
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=O9RJUtrE;
	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 A3AB3606A324;
	Tue, 27 Oct 2026 22:30:10 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 896EA1F031E4;
	Tue, 27 Oct 2026 22:30:10 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793140210;
	bh=fHlJ1wv5xEEQuy6wpLDTT9zC5ZVQRxUfazIXFu+TLHY=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=O9RJUtrE+d6xFCi411NyiykGbFIeEIPZot8R02yz6683geXxyR4Adrb0kO+Cp/wkz
	 CdDHZn7nfYQHQBKMuUAGsY7kgtYSHwL3OHLj4hnDohvfvVA2fK3zVhMgF1Wwul5jQd
	 hbKufASFkBQWbHeXFGZB1ImOGuUjKHKajOTdYDpaIn4vKF094I+f/ZX0A2iyBWBU4z
	 LiYhSWsYTTdpYa7Lb69/oJYPJ7Jwe8dc91JJwGHkWIzOBesxRqMXxlJnUmq031RS+H
	 pobwPon/D9NBnkG9h/IdwU3gC6TW7a9W5bKcCnm6vnd6gdsEIHWpdL8bNLSDLm4tjV
	 DPSvJtyXUr3XQ==
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 814163AA940B;
	Tue, 27 Oct 2026 22:30:10 +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:  <20261026-lan966x-xdp-xmit-dataptr-v1-1-d0dd068324de@microchip.com>
X-Cc: horatiu.vultur@microchip.com, UNGLinuxDriver@microchip.com,
 andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, ast@kernel.org, daniel@iogearbox.net,
 hawk@kernel.org, john.fastabend@gmail.com, sdf@fomichev.me,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org