• B
    e1000e: enable ECC on I217/I218 to catch packet buffer memory errors · 28600304
    Bruce Allan 提交于
    In rare instances, memory errors have been detected in the internal packet
    buffer memory on I217/I218 when stressed under certain environmental
    conditions.  Enable Error Correcting Code (ECC) in hardware to catch both
    correctable and uncorrectable errors.  Correctable errors will be handled
    by the hardware.  Uncorrectable errors in the packet buffer will cause the
    packet to be received with an error indication in the buffer descriptor
    causing the packet to be discarded.  If the uncorrectable error is in the
    descriptor itself, the hardware will stop and interrupt the driver
    indicating the error.  The driver will then reset the hardware in order to
    clear the error and restart.
    
    Both types of errors will be accounted for in statistics counters.
    Signed-off-by: NBruce Allan <bruce.w.allan@intel.com>
    Cc: <stable@vger.kernel.org> # 3.5.x & 3.6.x
    Tested-by: NJeff Pieper <jeffrey.e.pieper@intel.com>
    Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    28600304
hw.h 32.3 KB