]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit841df3812af4ea0ec0c3aaf64e2ee2874b56b37c
treed574443e20c1e4e8ae9a7a13c525f151c3365ccb
parent8a1da52445cbcd819582050bcfd3eac5d29981b5
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