From: Heiner Kallweit Subject: Realtek r8169: Problem with EEE on RTL8111E-VL Date: Sat, 18 Nov 2017 22:33:56 +0100 Message-ID: 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-f179.google.com ([209.85.128.179]:32786 "EHLO mail-wr0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763518AbdKRVeE (ORCPT ); Sat, 18 Nov 2017 16:34:04 -0500 Received: by mail-wr0-f179.google.com with SMTP id 4so4915819wrt.0 for ; Sat, 18 Nov 2017 13:34:04 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: 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