• Bruce Allan's avatar
    e1000e: Spurious interrupts & dropped packets with 82577/8/9 in half-duplex · 1d2101a7
    Bruce Allan authored
    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: default avatarBruce Allan <bruce.w.allan@intel.com>
    Tested-by: default avatarJeff Pieper <jeffrey.e.pieper@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    1d2101a7
ich8lan.c 111 KB