[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c91dcd74-3983-3ab6-91f6-3657b1e601af@gmail.com>
Date: Wed, 23 Nov 2016 12:15:46 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Yegor Yefremov <yegorslists@...glemail.com>
Cc: netdev <netdev@...r.kernel.org>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
Grygorii Strashko <grygorii.strashko@...com>,
"N, Mugunthan V" <mugunthanvnm@...com>,
Rami Rosen <roszenrami@...il.com>
Subject: Re: [PATCH v2] cpsw: ethtool: add support for getting/setting EEE
registers
On 11/23/2016 12:08 PM, Yegor Yefremov wrote:
> On Wed, Nov 23, 2016 at 6:33 PM, Florian Fainelli <f.fainelli@...il.com> wrote:
>> On 11/23/2016 06:38 AM, yegorslists@...glemail.com wrote:
>>> From: Yegor Yefremov <yegorslists@...glemail.com>
>>>
>>> Add the ability to query and set Energy Efficient Ethernet parameters
>>> via ethtool for applicable devices.
>>
>> Are you sure this is enough to actually enable EEE? I don't see where
>> phy_init_eee() is called here, nor is the cpsw Ethernet controller part
>> configured to enable/disable EEE. EEE is not just a PHY thing, it
>> usually also needs to be configured properly at the Ethernet MAC/switch
>> level as well.
>>
>> Just curious here.
>
> I'm sure I want to disable EEE :-) So I need this patch in order to
> check and disable EEE advertising.
OK, so you need this to disable EEE advertisement, which is great, but
this also allows you to enable EEE, is it enough to just advertise EEE
with your link partner for cpsw to work correctly? Just wondering, since
your commit message is more than short.
--
Florian
Powered by blists - more mailing lists