[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161208.181922.957507188752351548.davem@davemloft.net>
Date: Thu, 08 Dec 2016 18:19:22 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: Shaohui.Xie@....com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: gianfar: add ethtool eee support
From: Shaohui Xie <Shaohui.Xie@....com>
Date: Thu, 8 Dec 2016 19:27:06 +0800
> Gianfar does not support EEE, but it can connect to a PHY which supports
> EEE and the PHY advertises EEE by default, and its link partner also
> advertises EEE, so the PHY enters low power mode when traffic rate is low,
> which causes packet loss if an application's traffic rate is low. This
> patch provides .get_eee and .set_eee so that to disable the EEE
> advertisement via ethtool if needed, other EEE features are not supported.
>
> Signed-off-by: Shaohui Xie <Shaohui.Xie@....com>
This is not the way to fix this.
If the Gianfar MAC does not support EEE properly, then the gianfar
driver should not create a situation where the PHY advertises EEE
in the first place.
Powered by blists - more mailing lists