Article View: linux.kernel.netdev
Article #23485Re: [PATCH net] net: lan966x: return an error for XDP frames that are not queued
From: patchwork-bot+netdevbpf
Date: Fri, 27 Nov 2026 10:40
Date: Fri, 27 Nov 2026 10:40
28 lines
9019 bytes
9019 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Mon, 23 Nov 2026 15:54:36 +0100 you wrote:
> lan966x_xdp_xmit() counts a frame as transmitted when
> lan966x_fdma_xmit_xdpf() returns 0, and its caller only returns the
> frames that were not counted.
>
> Before this patch, lan966x_fdma_xmit_xdpf() returns NETDEV_TX_OK, which
> is 0, when an xdp_frame has less headroom than the IFH or when its DMA
> mapping fails, without queueing the frame. The frame is then counted as
> transmitted and never freed. An xdp_frame can have less headroom than
> the IFH when an XDP program grows the head of a frame with
> bpf_xdp_adjust_head() before redirecting it to a lan966x port.
>
> [...]
Here is the summary with links:
- [net] net: lan966x: return an error for XDP frames that are not queued
https://git.kernel.org/netdev/net/c/0651cae60e84
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179577600425.905521.1768225417330969328.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.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-372659-linux-kernel-netdev=dewy.ruReferences:
<20261123-lan966x-xdp-xmit-errors-v1-1-f25b6661167d@microchip.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.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-372659-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: lan966x: return an error for XDP frames that are not queued Date: Fri, 27 Nov 2026 10:40:04 +0000 Organization: Usenet Network Message-ID: <179577600425.905521.1768225417330969328.git-patchwork-notify@kernel.org> References: <20261123-lan966x-xdp-xmit-errors-v1-1-f25b6661167d@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="710130"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Z08vBWY8FjQNDbEb/IH2AQyKEdg= sha256:KsROiUs5f4hGo6EHqeAYTjgsLk9CdIk6LSgQRKUjtdw= sha1:l9kwHwpVDpqPKd/SRNxaeNLms2s= sha256:HUznS5wBZGcKbn99E0/RWHpAMcg71rLJQ98d8rkRH+0= 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 41308125F4E; Fri, 27 Nov 2026 13:40:29 +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 y3hEKBZE0LsE; Fri, 27 Nov 2026 13:40:26 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-372659-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 C5C35125F52; Fri, 27 Nov 2026 13:40:17 +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 3E5122A6DB; Fri, 27 Nov 2026 10:40:13 +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=1795776012; b=eikghYd/eIKEnGCiSyemuXW7jptRyJaGkQABzH5YNoiHu3QhRMGCTjA7kfuxAom/bOP4 ked8wzuSOiL4jGihf3XEgY/5TjXV0qotfc+ia9JBv5u9Ppj4nDIDguohQJOymMIS2ZJZu 1PeCdZpYG0KMlyi6RwX6U8JiGP3MCT2jAPPp7+i2EH+EQCSKu+oDO3X0uhYcIOUorsRI2 CRb1i/nMYBLUle7vr791qcn7yWyOVx5PuOTSpHRuZYKFULNqN1nPovHRfolr1Liy+Iqg4 5mxc3GJV964sEsOVRKfen/igAgiHNZ30YLVjMLBRDDthY0J8I9q8BD5RHG21m+dEZvg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795776012; 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=pHV3DUpd76XiDAZxihmr+LCQ5S6rYdImM4dkHk4pa1Q=; b=UJUTi8oG6bbflkkGOoa0CmxXGDaBuGNMXYbDqBSbAJqQpAG2v5VaWxt9kkXzlXQZ6Fm2 CgApZN1BqpwJFz72//cszbyKx6imw9MxcBab9ZJ+H6uztDzCQhaUUh52fOCf2yCBLGL6Q fJ5pzvO/rxmrKMlDgMDooVK3D2jWHwQ7aEi/kUk6vYPuNvPverR1XHA7k3fPfFSCEl8/4 zMBRxIxI9/JoFBeFQ3Y03Se+Aw3jh/SXVeM0CK4BnmfxryKCpkvDhW+gjQb0XZ0pEDZdc fZS0RkY4yevPDEL6/LYvWG+E7euDD2yN6YSIgzvpol6fW9GYpDIGlhKGyPB3fmm3C8g== 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=Zx1FdJlT; 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 EED7D606A331; Fri, 27 Nov 2026 10:40:11 +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=Zx1FdJlT 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=1795776006; b=Br3vOo/+BybioZUUF7H11RxlTbt7C5xFZ4jqnN2ZxUVDLiXOThI+R5gq5BX2FjWMuDwH npKa/ajNHhb+qH/LMB0bOzjjhIuAl7r4ythXMElahqSDCByZVujvpqRh6KAXuTmiCBy0s iSgVBrYyTsdwYY6ghO7wI0b6+v+ExcfdxrwOS+6nPw5X08U7YxyF68w0WXMrOgXf1Xpw2 J+pMcKv0zmGKSkhDobuyhhcNY/XhNxQf5ABsx3UR0ukkZ83EQq9vleXyi6PWFqdqWRN/x lvbj4RidK0Mjki7cEUFgyU5Q5Ywt+pUPciq06K5OqghFYQreYVDN8HtVeojh4BCGP6w== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795776006; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=pHV3DUpd76XiDAZxihmr+LCQ5S6rYdImM4dkHk4pa1Q=; b=hv4RN/YFsQmeHzNdBHdXVsMT1Zv36EBLjgRZdBPUHE8do8ta0Gv0MfgrM/c9AkyHwAHe 1D9hLz7xQvhcqzeAXEdqoqeoLBOh8EVXMSGwsSQzW9sM8GcJoTtL6Q2ZLS/yonlneUkrc n56JRjudWCPEafrJd0q7Vfrqlj8JsRzecU7zu90tVk3A/8qPjNhs40bBmNeCtt4hl/XXy UfrGQTSUpU91pUpkxl/SViLpeK80PPFv/63C2m5VdGuLATti99XDJiRGwCns1E8iv12ki LwmEWCie6xfGw4JiyfScFnV5rPUq+1+6kGqG+jEKgZlwhlqTj+g8/aKukPfP1CYSqDg== 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=Zx1FdJlT; 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 18ACD606A31E; Fri, 27 Nov 2026 10:40:05 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B86E1F00897; Fri, 27 Nov 2026 10:40:05 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795776005; bh=pHV3DUpd76XiDAZxihmr+LCQ5S6rYdImM4dkHk4pa1Q=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Zx1FdJlTdhEkDqVQB1OUusG19jvT3yn9/dL69t52YjVChzitvy8Mg9+jzLNTxnn9c VvYIcTR3BbOTtpWE5LDRPfBxhdab2o/4X/yxy/dYKYKhpZ1ocFjzWXL6qMoYXuo/Gc TiAKKgWLnw6rdCH4IBV7cPVaPoxJwPK9aXXWTUdSDTwy4jgDff03wEfF+ZBG/oyeDz 2JlgXosI1umEbAIIcjHyWRt5WlFAQ5dzV/oTtWPcJQahszzpaSl/60JM1eDH0FjeDS aQASoKMoXp8TPcdnAPF+/spmCPwRf+UoYLM1a3PHlqWnPjMFU7v1PLz64Yt7HIYxp3 1hfMrWosRWOzA== 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 716E538003C5; Fri, 27 Nov 2026 10:40:05 +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: <20261123-lan966x-xdp-xmit-errors-v1-1-f25b6661167d@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, bpf@vger.kernel.org