e1000e: 82579 jumbo frame workaround causing CRC errors
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 22 Sep 2010 17:16:40 +0000 (17:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Sep 2010 03:41:20 +0000 (20:41 -0700)
commita1ce647378c0262fe72757f989e961b2de6460a5
treeafd3e62996a49b32509297ff0f38831e6336f1c7
parent831bd2e6a6c09588fdde453ecb858f050ac1b942
e1000e: 82579 jumbo frame workaround causing CRC errors

The subject workaround was causing CRC errors due to writing the wrong
register with updates of the RCTL register.  It was also found that the
workaround function which modifies the RCTL register was being called in
the middle of a read-modify-write operation of the RCTL register, so the
function call has been moved appropriately.  Lastly, jumbo frames must not
be allowed when CRC stripping is disabled by a module parameter because the
workaround requires the CRC be stripped.

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: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/ich8lan.c
drivers/net/e1000e/netdev.c