[PATCH] TG3: Fix TSO bugs.
commit7bac478c009cdb21dca17c3fe84f8a053d42fd1e
authorMichael Chan <mchan@broadcom.com>
Tue, 8 May 2007 02:03:37 +0000 (7 19:03 -0700)
committerChris Wright <chrisw@sous-sol.org>
Wed, 23 May 2007 21:32:44 +0000 (23 14:32 -0700)
tree0db04c75c8a1c27cf000369b890af66d75ab692f
parentc305cb595ccd03d93b3240c072e2df86a49deadd
[PATCH] TG3: Fix TSO bugs.

1. Remove the check for skb->len greater than MTU when doing TSO.
When the destination has a smaller MSS than the source, a TSO packet
may be smaller than the MTU and we still need to process it as a TSO
packet.

2. On 5705A3 devices with TSO enabled, the DMA engine can hang due to a
hardware bug.  This patch avoids the hanging condition by reducing the
DMA burst size.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/net/tg3.c