Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752019AbdHAR2E (ORCPT ); Tue, 1 Aug 2017 13:28:04 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:48107 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751860AbdHAR2C (ORCPT ); Tue, 1 Aug 2017 13:28:02 -0400 Date: Tue, 1 Aug 2017 19:27:57 +0200 From: Andrew Lunn To: Florian Fainelli Cc: Vivien Didelot , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" Subject: Re: [PATCH net-next 10/11] net: dsa: mv88e6xxx: remove EEE support Message-ID: <20170801172757.GL23157@lunn.ch> References: <20170731221719.16695-1-vivien.didelot@savoirfairelinux.com> <20170731221719.16695-11-vivien.didelot@savoirfairelinux.com> <20170801142843.GE23157@lunn.ch> <87r2wv2tci.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me> <20170801160628.GJ23157@lunn.ch> <17c26dee-c285-4dd5-1be0-286c0126d4db@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17c26dee-c285-4dd5-1be0-286c0126d4db@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 781 Lines: 19 > If the MAC does not support EEE but the PHY does I think you can still > allow EEE to be advertised and enabled, you just won't have the MAC be > able to leverage the power savings that EEE brings. AFAICT this is still > a valid mode whereby the PHY is put in a lower power mode, just not the > whole transmit path (MAC + PHY). Hi Florian I read a couple of datasheets for a few phys doing EEE. Both said the same, the MAC has to indicate to the PHY when low power should be entered and existed. The PHY itself does not appear to do anything on its own. It would be good to read the standards about this. But i don't think we should tell userspace EEE is enabled, if the PHY has it enabled, but the MAC is not capable and hence EEE is not actually being used at all. Andrew