🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
2 messages
2 total messages Started by Simon Horman Wed, 07 Oct 2026 15:34
Re: [PATCH net 1/2] r8169: preserve checksum offload when packet padding is unnecessary
#224
Author: Simon Horman
Date: Wed, 07 Oct 2026 15:34
29 lines
6863 bytes
On Sat, Oct 03, 2026 at 12:07:54AM +0000, iugfdin wrote:
> rtl_quirk_packet_padto() returns the minimum packet length required by
> the padding quirks. For RTL8168evl and RTL8125-family chips this is at
> least ETH_ZLEN, even when the skb is already longer.
> 
> rtl8169_features_check() treats that nonzero target as a boolean and
> therefore disables checksum offload for ordinary non-GSO
> CHECKSUM_PARTIAL packets on these chips. Packets that need no padding
> are unnecessarily checksummed in software.
> 
> Compare the skb length with the padding target instead. Packets that
> actually need padding continue to use software checksumming; the
> existing short-frame and transport-offset checks are unchanged.
> 
> Fixes: 8d520b4de3ed ("r8169: work around RTL8125 UDP hw bug")
> Assisted-by: LLM
> Signed-off-by: iugfdin <iugfdin@proton.me>

Please consider using your real name in the From header and Signed-off-by tag.
Apologies if I am misreading things and that is already the case.

> ---
> Tested with W=1 driver-target builds on net under x86-64
> allmodconfig and allyesconfig, and source-executing ASan/UBSan
> checks with modeled kernel/DMA/MMIO boundaries. No physical
> Realtek NIC was available; this is not an on-device test claim.

Reviewed-by: Simon Horman <horms@kernel.org>
Re: [PATCH net 1/2] r8169: preserve checksum offload when packet padding is unnecessary
#388
Author: Jakub Kicinski
Date: Thu, 08 Oct 2026 00:27
11 lines
5927 bytes
On Wed, 7 Oct 2026 16:34:38 +0100 Simon Horman wrote:
> > Signed-off-by: iugfdin <iugfdin@proton.me>  
> 
> Please consider using your real name in the From header and Signed-off-by tag.
> Apologies if I am misreading things and that is already the case.

Legal name is indeed required. If that's too much to ask - we can
certainly live without this contribution.
-- 
pw-bot: cr
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads