linux_dsm_epyc7002/drivers/net/e1000e
Bruce Allan 1d2101a712 e1000e: Spurious interrupts & dropped packets with 82577/8/9 in half-duplex
On 82577/8/9 in half-duplex when a received packet is passed from the PHY
to the MAC, if too many preamble octects are stripped from the packet
before arriving at the MAC, it can be misintrepeted as an in-band message
rather than an actual frame.  For example, if the frame contents resembled
an interrupt request in-band message, it would trigger a false interrupt.
In most cases, the packet is just dropped.

By reducing the number of preamble octets stripped from the beginning of
the frame when passing it from the PHY to the MAC, the MAC will interpret
the frame properly.

An additional uses of the magic PHY_REG(770, 16) have been updated with a
define introduced with this patch.

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>
2011-08-13 02:11:48 -07:00
..
82571.c e1000e: do not disable receiver on 82574/82583 2011-08-11 15:19:06 -07:00
defines.h e1000e: disable jumbo frames on 82579 when MACsec enabled in EEPROM 2011-03-11 02:23:21 -08:00
e1000.h e1000e: do not disable receiver on 82574/82583 2011-08-11 15:19:06 -07:00
es2lan.c intel drivers: repair missing flush operations 2011-08-04 04:59:07 -07:00
ethtool.c e1000e: do not disable receiver on 82574/82583 2011-08-11 15:19:06 -07:00
hw.h e1000e: access multiple PHY registers on same page at the same time 2011-06-09 20:33:36 -07:00
ich8lan.c e1000e: Spurious interrupts & dropped packets with 82577/8/9 in half-duplex 2011-08-13 02:11:48 -07:00
lib.c e1000e: alternate MAC address update 2011-08-11 15:21:05 -07:00
Makefile e1000e: update Copyright for 2011 2011-01-14 02:04:01 -08:00
netdev.c e1000e: increase driver version number 2011-08-11 15:23:58 -07:00
param.c e1000e: consistent use of Rx/Tx vs. RX/TX/rx/tx in comments/logs 2011-01-14 02:06:23 -08:00
phy.c intel drivers: repair missing flush operations 2011-08-04 04:59:07 -07:00