From 405a6ed9ed2c0954b0003839d159d0461d5e4e64 Mon Sep 17 00:00:00 2001 From: Mahesh Patil Date: Thu, 13 Feb 2020 11:00:09 -0800 Subject: [PATCH] nvethernet: Disable EEE feature Issue: Enabling EEE feature causing random SSH failures in GVS tests. Fix: Disable EEE feature until root cause issue Bug 2813867 Change-Id: I462cb7efbe7916a7591e8f0a2dca6ba1cbf9addc Signed-off-by: Mahesh Patil Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2294331 Tested-by: mobile promotions Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Srinivas Ramachandran Reviewed-by: Ashutosh Jha Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit --- drivers/net/ethernet/nvidia/nvethernet/ether_linux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/nvidia/nvethernet/ether_linux.c b/drivers/net/ethernet/nvidia/nvethernet/ether_linux.c index 498193df..09be08c6 100644 --- a/drivers/net/ethernet/nvidia/nvethernet/ether_linux.c +++ b/drivers/net/ethernet/nvidia/nvethernet/ether_linux.c @@ -1231,7 +1231,8 @@ static int ether_therm_init(struct ether_priv_data *pdata) static inline void ether_init_eee_params(struct ether_priv_data *pdata) { if (pdata->hw_feat.eee_sel) { - pdata->eee_enabled = OSI_ENABLE; + /* default, keep it disabled */ + pdata->eee_enabled = OSI_DISABLE; } else { pdata->eee_enabled = OSI_DISABLE; }