]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
e1000e: bad short packets received when jumbos enabled on 82579
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 30 Sep 2011 08:07:00 +0000 (08:07 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 06:30:27 +0000 (14:30 +0800)
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.

(cherry picked from commit b64e9dd5d04561c2cee7e9d9d70bd6d45cc01e7c)
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000e/ich8lan.c

index 54add27c8f760ae871858f837d6d956ee2387f03..e780c392ac763cb7d80225dceb4259ed210bfd62 100644 (file)
@@ -1574,7 +1574,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);