e1000e: 82579 unaccounted missed packets
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 22 Sep 2010 17:16:18 +0000 (17:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Sep 2010 03:41:20 +0000 (20:41 -0700)
commit831bd2e6a6c09588fdde453ecb858f050ac1b942
treed574443e20c1e4e8ae9a7a13c525f151c3365ccb
parent5f3eed6fe0e36e4b56c8dd9160241a868ee0de2a
e1000e: 82579 unaccounted missed packets

On 82579, there is a hardware bug that can cause received packets to not
get transferred from the PHY to the MAC due to K1 (a power saving feature
of the PHY-MAC interconnect similar to ASPM L1).  Since the MAC controls
the accounting of missed packets, these will go unnoticed.  Workaround the
issue by setting the K1 beacon duration according to the link speed.

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/hw.h
drivers/net/e1000e/ich8lan.c