• M
    tg3: 5701 DMA corruption fix · 41588ba1
    Matt Carlson 提交于
    Herbert Xu's commit fb93134d, entitled
    "[TCP]: Fix size calculation in sk_stream_alloc_pskb", has triggered a
    bug in the 5701 where the 5701 DMA engine will corrupt outgoing
    packets.  This problem only happens when the starting address of the
    packet matches a certain range of offsets and only when the 5701 is
    placed downstream of a particular Intel bridge.
    
    This patch detects the problematic bridge and if present, readjusts the
    starting address of the packet data to a dword aligned boundary.
    Signed-off-by: NMatt Carlson <mcarlson@broadcom.com>
    Signed-off-by: NMichael Chan <mchan@broadcom.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    41588ba1
tg3.h 94.6 KB