From: Jakub Kicinski Date: Wed, 20 Aug 2025 01:33:09 +0000 (-0700) Subject: Merge branch 'stmmac-stop-silently-dropping-bad-checksum-packets' X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=5c69e0b395c1ffb37fd6fbdbd428353fc0894005;p=users%2Fwilly%2Flinux.git Merge branch 'stmmac-stop-silently-dropping-bad-checksum-packets' Oleksij Rempel says: ==================== stmmac: stop silently dropping bad checksum packets this series reworks how stmmac handles receive checksum offload (CoE) errors on dwmac4. At present, when CoE is enabled, the hardware silently discards any frame that fails checksum validation. These packets never reach the driver and are not accounted in the generic drop statistics. They are only visible in the stmmac-specific counters as "payload error" or "header error" packets, which makes it harder to debug or monitor network issues. Following discussion [1], the driver is reworked to propagate checksum error information up to the stack. With these changes, CoE stays enabled, but frames that fail hardware validation are no longer dropped in hardware. Instead, the driver marks them with CHECKSUM_NONE so the network stack can validate, drop, and properly account them in the standard drop statistics. [1] https://lore.kernel.org/all/20250625132117.1b3264e8@kernel.org/ ==================== Link: https://patch.msgid.link/20250818090217.2789521-1-o.rempel@pengutronix.de Signed-off-by: Jakub Kicinski --- 5c69e0b395c1ffb37fd6fbdbd428353fc0894005