Re: [PATCH net-next] net: phy: improve generic EEE ethtool functions

2018-12-03 Thread David Miller
From: Heiner Kallweit Date: Tue, 27 Nov 2018 22:30:14 +0100 > So far the two functions consider neither member eee_enabled nor > eee_active. Therefore network drivers have to do this in some kind > of glue code. I think this can be avoided. > > Getting EEE parameters: > When not advertising any

[PATCH net-next] net: phy: improve generic EEE ethtool functions

2018-11-27 Thread Heiner Kallweit
So far the two functions consider neither member eee_enabled nor eee_active. Therefore network drivers have to do this in some kind of glue code. I think this can be avoided. Getting EEE parameters: When not advertising any EEE mode, we can't consider EEE to be enabled. Therefore interpret "EEE