From: Heiner Kallweit Subject: Re: Realtek r8169: Problem with EEE on RTL8111E-VL Date: Sun, 19 Nov 2017 00:43:44 +0100 Message-ID: <968d6b9f-86a6-85a1-4391-7a5ae018e2db@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "netdev@vger.kernel.org" To: Chun-Hao Lin , nic_swsd@realtek.com Return-path: Received: from mail-wr0-f177.google.com ([209.85.128.177]:36226 "EHLO mail-wr0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S937846AbdKRXnu (ORCPT ); Sat, 18 Nov 2017 18:43:50 -0500 Received: by mail-wr0-f177.google.com with SMTP id y42so5039884wrd.3 for ; Sat, 18 Nov 2017 15:43:50 -0800 (PST) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Am 18.11.2017 um 22:33 schrieb Heiner Kallweit: > I have a Zotac Mini-PC with a RTL8111E-VL and just by chance figured out > that EEE is disabled on the link between my EEE-capable switch and > this device. > > After a little investigating I found that from the beginning of this > driver advertising of EEE was disabled: See rtl8168e_2_hw_phy_config, > line 3802, there MMD device 7, register 0x3c is set to 0 what disables > 100BaseT and 1000BaseT EEE advertising. > Is there any known issue with EEE on this chip justifying this? > However, even after removing this (dev 7, reg 3c now having the correct > value 6) no EEE is advertised. > > Rgds, Heiner > OK, found the issue. I will submit a patch.