Re: [PATCH v2] net: stmmac: Disable checksum insertion for XDP frame TX
From: patchwork-bot+netdevbpf
Date: Fri Nov 20 2026 - 20:50:22 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 16 Nov 2026 21:48:48 +0800 you wrote:
> stmmac enables TX checksum insertion for XDP frames whenever the queue
> supports it. XDP frames carry no TX checksum offload request, so this
> can overwrite a checksum already present in the packet.
>
> dwmac can only do HW checksum for normal particular packets
> layouts, such as TCP, UDP etc. The stmmac_has_ip_ethertype() has
> well demostrated this limitation. Different with normal tx where the
> common stack supplies the skb->ip_summed metadata, XDP path doesn't
> have the necessary metadata. So to make the XDP always work properly
> when transmiting arbitrary Eth frames, dwmac HW csum needs to be
> disabled by default.
>
> [...]
Here is the summary with links:
- [v2] net: stmmac: Disable checksum insertion for XDP frame TX
https://git.kernel.org/netdev/net-next/c/7e7ef57374f4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html