🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #84

Re: [PATCH net v1 1/1] r8169: disable EEE on RTL8168h/8111h

#84
From: Heiner Kallweit
Date: Wed, 07 Oct 2026 06:01
62 lines
10822 bytes
On 06.10.2026 13:19, Dennis Piecha wrote:
> Hi Oleksij,
> 
> I tested this on the affected machine with a Home Assistant OS test
> build that includes the patch (kernel 6.18.54-haos).
> 
> Hardware: Intel NUC11ATKPE, RTL8168h/8111h (XID 541), FRITZ!Box 6690
> as link partner, no VLANs.
> 
> With the patch the NIC reports EEE as not supported and the RX stall
> is gone: more than 4 hours without a single drop, everything on
> defaults, no workaround. Before, on 6.18.52 without the patch, it
> stalled every 7-20 minutes.
> 

I'm pretty sure that EEE was active for this chip version in earlier times.
Are you sure it's not an issue on the link partner side? Did you test with a
switch between your system and the FRITZ!Box?

> Since 6.18.y stable is affected (that's where the PHY EEE fix was
> backported), it would be great to see this there too.
> 
> Tested-by: Dennis Piecha <d.piecha@ymail.com>
> 
> Thanks for the fix!
> Dennis
> 
> 
> 
> 
> 
> 
> Am Donnerstag, 1. Oktober 2026 um 02:30:16 MESZ hat <patchwork-bot+netdevbpf@kernel.org> Folgendes geschrieben: 
> 
> 
> 
> 
> 
> Hello:
> 
> This patch was applied to netdev/net.git (main)
> by Jakub Kicinski <kuba@kernel.org>:
> 
> On Fri, 25 Sep 2026 09:10:40 +0200 you wrote:
>> Force EEE off on the RTL8168h/8111h (RTL_GIGA_MAC_VER_46) at PHY connect
>> with phy_disable_eee().
>>
>> Commit 202fef9bbbf5 ("net: phy: realtek: fix EEE advertisement write on
>> the internal PHY MMD path") made EEE actually advertise on the generic
>> Realtek PHY; the write had been a no-op before. On the RTL8168h that
>> un-masks a latent defect: once EEE negotiates, RX silently stalls after
>> ~7-20 minutes. The carrier stays up, no counter or dmesg moves, and only
>> "ip link set down/up" recovers it; disabling EEE keeps the link stable.
>>
>> [...]
> 
> Here is the summary with links:
> - [net,v1,1/1] r8169: disable EEE on RTL8168h/8111h
> https://git.kernel.org/netdev/net/c/3cdeaef1754a
> 
> You are awesome, thank you!
Technical Details
Message-ID: <9777c133-0d46-4efe-88d7-8a519f38b0f8@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342214-linux-kernel-netdev=dewy.ru
References: <20260925071040.2137178-1-o.rempel@pengutronix.de> <179081461327.2189941.5041238879527277665.git-patchwork-notify@kernel.org> <503211732.1051249.1791285565321@mail.yahoo.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-342214-linux-kernel-netdev=dewy.ru
From: hkallweit1@gmail.com (Heiner Kallweit)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v1 1/1] r8169: disable EEE on RTL8168h/8111h
Date: Wed, 7 Oct 2026 08:01:06 +0200
Organization: Usenet Network
Message-ID: <9777c133-0d46-4efe-88d7-8a519f38b0f8@gmail.com>
References: <20260925071040.2137178-1-o.rempel@pengutronix.de>
 <179081461327.2189941.5041238879527277665.git-patchwork-notify@kernel.org>
 <503211732.1051249.1791285565321@mail.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="586938"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:77oLUw6FyYPzj0QwCCNXSwmyzus= sha256:sgi0USt3II/QPREaPiWmTGC7rQ8NnQV9AVrfP2joil8=
	sha1:3FamwkU+JWZDlhTS6Y8RbsgDQc4= sha256:Py+bLCTeK6frMZpXXSgnhFOy+piAFNm/gKk3W2JjefU=
Content-Language: en-US
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 C156A10F0EC; Wed,  7 Oct 2026 09:01:21 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.749
X-Spam-Status: No, score=-0.749 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, 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=gmail.com
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 SZ1408OxEbgs;
	Wed,  7 Oct 2026 09:01:18 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-342214-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 573F910F054; Wed,  7 Oct 2026 09:01:15 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id B471729780; Wed,  7 Oct 2026 06:01:13 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 45B3537C90F;
	Wed,  7 Oct 2026 06:01:13 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DDSCJQVt"
X-Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED96E346A18
	for <netdev@vger.kernel.org>; Wed,  7 Oct 2026 06:01:11 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.175
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791352873; cv=none; b=W2X+81rV/pBIl9yyoZnGrAs9txrRzELJkyczFn1VxDfXiA2wZU4Y6vuC5lMEkrjZ2Uep8dAwlEn4kiFPUQngSNiHweCBd+YbVGH+npE5C16OpGfF36Jm3fIpTIp8O6YEBLj/BGas98dHehl/XeemmOJRRUoFjP33K3DOQI2jNZU=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791352873; c=relaxed/simple;
	bh=44gmmM9oEH5/TVerkgLJ1mXkmCq7t1aLZaAtaClW8/k=;
	h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From:
	 In-Reply-To:Content-Type; b=gWCu6cWrpEkIh9NkF5ehrVkLn5Kbi7nwK7iDCH4JO1cAqN+9XDLrNRPKpMF44J8Jlc1SvaSN53+gcrpn5X2aS+393/vO+O43D/RS6gpi0qQg/6TGI+6To8exoKGv+0d4d8DFbzdsnViaMsRfA2trRWZJcYJJxH/+3j5OlGnc4Ew=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DDSCJQVt; arc=none smtp.client-ip=209.85.160.175
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-qt1-f175.google.com with SMTP id d75a77b69052e-53391022dc0so13877051cf.2
        for <netdev@vger.kernel.org>; Tue, 06 Oct 2026 23:01:11 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20251104; t=1791352871; x=1791957671; darn=vger.kernel.org;
        h=content-transfer-encoding:content-type:in-reply-to:from
         :content-language:references:cc:to:subject:user-agent:mime-version
         :date:message-id:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=Nfq/HGRukfZcQBpC30XOdveBT0IdwDENsOU1DxIVVJg=;
        b=DDSCJQVthpfjYG7ohZTHgwatt6RJFFXnzT9IbzUVqRo35PU8MwwLDGmSnwE/fZLu4A
         wsmNkpHIw13cwsFMBdphj0BIJaxeevcB/zvRHQsqsHOjkYFdrOIF8HszH6rra05o2cp/
         Er0fx3n+PiMYW1SjCAdWuqb0Vyol6BemtAMc6ia656tXKXuZchvCJgLYYYjHH4lnRGeJ
         yTmK3HJSQA2WuPFeyJ85MNGDaZt4FGKbLqS+/ghBEBj08EVfJk27N7mC0PTwN32iyR/i
         itgkxdPtkMP4v3yihLwAxchVLb5lRc7fKtIoXONkkPDwxWe+IHNoNb1GB3MhhC/PLGAS
         Ds3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1791352871; x=1791957671;
        h=content-transfer-encoding:content-type:in-reply-to:from
         :content-language:references:cc:to:subject:user-agent:mime-version
         :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=Nfq/HGRukfZcQBpC30XOdveBT0IdwDENsOU1DxIVVJg=;
        b=F8oRzzKKUSZybRa9tqnW4eLAO7M+ejqZOAhtVri7nGO0CII0XN8ZsZfcwd+/xe2Apq
         9qG1a7I3WUJzaI5EWnTgkNHNfVmBqcEBOlVTWzNZwY0xTNIBrNGzo/jGYnWg2YxkLvH7
         qIj7Yz8ue3Hl4xqOhK1X9dpTQQL80T4EFsC0qdWJQjA3ktycvk3NHa+DlEwsPnC/pg8D
         korSzUvgAsZ/UofSh+XArrW6BXwLfpvJfSn5+2SimxSt77UJgXXQL/MT7bNqIJeI+H4E
         wbO1mxTqcue02Ps8FOVZhxO7F5viMymykh4bEq59nyueXQhMwefXEj4A6f6J6SF32n9e
         vdNg==
X-Forwarded-Encrypted: i=1; AKwUvBxZCkcv1uovcowsDfjWuhHvoOyN5HPXkLgvLHKnE1HIuBJG9bnE8CMaIsW3qaMmryVOdQS36aQ=@vger.kernel.org
X-Gm-Message-State: AFuF++l0+97grTeaCHf0hf+dlIMM+FEeNWTh7YsagPj0rnq4Twj7oPNx
	g7MPtm8Dd0CUVlgWvEEk3lI+1TZID1ENY8toVFU48vPNm53rnpOjPurKB8tSCw==
X-Gm-Gg: AYBFou29qsyi5/kacvUDu4O7dzGG1LCf8aMu+kXTgj48QE88XiapYtenGXp50tITSzu
	5kCOafsf6ldXNap8tfh8BlD8VJZz3AME0IxFX04jlhnd9oau3K0LrsiovKdoEp3YrF+6yeulh12
	/sTs17aj5SNb+CZP8nWbqSyd2MgzojK8buQr/BllTc4gMD2hXZhp9a5wOCZrPJ+xEP9xgGSu+Gb
	cA+CuyKz6uSBuPjWeXwftSdue3/j83ksSDouABJBeD3LcCczwMGsn7YG5+PgZ6aQzT5NQYDVuYH
	1HftKiwPYub+yyhdwWhKFpbx87OW4itgBPRB/GSJAuUeYoxQJpOjFyIIu9MU60d/Uj0A7RaXcFE
	9BozwYrpWwYAwY8rXJFVSTrVO2VW8jRl9NMZKTrE/5aja4pI7AnlmLOjKEkhVsFxN4q9K8S6ive
	KXRjkJUyLPddUJQ8WlHz8WxAqhZlR8PLDs4u8bT6Rv/RxNI0R3QseVjY86as8cVLkmMoEPVDyH1
	Av1c48X5dAivQQcuOu5zgGUTFeKSR68tkRLKJpaoYldAp47nQkYbVvUl6lo8Stmm7V5F98uUomr
	PT1VSpzVDQWp+GDGmxRC56xOquTK+AY=
X-Received: by 2002:a05:622a:4d44:b0:535:1241:965f with SMTP id d75a77b69052e-535756ac39bmr20079451cf.40.1791352870621;
        Tue, 06 Oct 2026 23:01:10 -0700 (PDT)
X-Received: from ?IPV6:2003:ea:8f23:8600:d56a:6e66:bc:e98e? (p200300ea8f238600d56a6e6600bce98e.dip0.t-ipconnect.de. [2003:ea:8f23:8600:d56a:6e66:bc:e98e])
        by smtp.gmail.com with ESMTPSA id d75a77b69052e-5357217327asm12835161cf.22.2026.10.06.23.01.08
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Tue, 06 Oct 2026 23:01:10 -0700 (PDT)
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-User-Agent: Mozilla Thunderbird
X-Cc: "andrew@lunn.ch" <andrew@lunn.ch>,
 "nic_swsd@realtek.com" <nic_swsd@realtek.com>,
 "davem@davemloft.net" <davem@davemloft.net>,
 "edumazet@kernel.org" <edumazet@kernel.org>,
 "kuba@kernel.org" <kuba@kernel.org>, "pabeni@redhat.com"
 <pabeni@redhat.com>, "stable@vger.kernel.org" <stable@vger.kernel.org>,
 "kernel@pengutronix.de" <kernel@pengutronix.de>,
 "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
 "netdev@vger.kernel.org" <netdev@vger.kernel.org>
X-In-Reply-To: <503211732.1051249.1791285565321@mail.yahoo.com>