From: Bruce Allan Date: Fri, 30 Sep 2011 08:07:00 +0000 (+0000) Subject: e1000e: bad short packets received when jumbos enabled on 82579 X-Git-Tag: MMI-PSA29.97-13-9~18194^2~123^2~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b64e9dd5d04561c2cee7e9d9d70bd6d45cc01e7c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git e1000e: bad short packets received when jumbos enabled on 82579 When short packets are received with jumbos enabled on 82579, they can be interpreted to have a receive address that does not match any configured address. This is due to a hardware bug that can be worked around by reducing the number of IPG octets added when the packet is transferred from the PHY to the MAC. Signed-off-by: Bruce Allan Tested-by: Jeff Pieper Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/e1000e/ich8lan.c b/drivers/net/ethernet/intel/e1000e/ich8lan.c index ad34de086ee1..4f709749dbce 100644 --- a/drivers/net/ethernet/intel/e1000e/ich8lan.c +++ b/drivers/net/ethernet/intel/e1000e/ich8lan.c @@ -1578,7 +1578,7 @@ s32 e1000_lv_jumbo_workaround_ich8lan(struct e1000_hw *hw, bool enable) ret_val = e1e_wphy(hw, PHY_REG(776, 20), data); if (ret_val) goto out; - ret_val = e1e_wphy(hw, PHY_REG(776, 23), 0xFE00); + ret_val = e1e_wphy(hw, PHY_REG(776, 23), 0xF100); if (ret_val) goto out; e1e_rphy(hw, HV_PM_CTRL, &data);