diff options
author | Claudiu Manoil <claudiu.manoil@nxp.com> | 2017-12-07 18:44:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-08 13:23:01 -0500 |
commit | b6b5e8a691185606dfffff3198c89e3b4fd9d4f6 (patch) | |
tree | f983f4b1b3c74546e5ec3a07829881c3e0ca28fd /drivers/net/ethernet/sfc/tx.c | |
parent | d4761754b4fb2ef8d9a1e9d121c4bec84e1fe292 (diff) | |
download | talos-op-linux-b6b5e8a691185606dfffff3198c89e3b4fd9d4f6.tar.gz talos-op-linux-b6b5e8a691185606dfffff3198c89e3b4fd9d4f6.zip |
gianfar: Disable EEE autoneg by default
This controller does not support EEE, but it may connect to a PHY
which supports EEE and advertises EEE by default, while its link
partner also advertises EEE. If this happens, the PHY enters low
power mode when the traffic rate is low and causes packet loss.
This patch disables EEE advertisement by default for any PHY that
gianfar connects to, to prevent the above unwanted outcome.
Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com>
Tested-by: Yangbo Lu <Yangbo.lu@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/tx.c')
0 files changed, 0 insertions, 0 deletions