]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/tg3.c
[TG3]: Fix TSO bugs.
authorMatt Carlson <mcarlson@broadcom.com>
Sat, 5 May 2007 18:50:04 +0000 (11:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 May 2007 18:50:04 +0000 (11:50 -0700)
commitc13e3713857d5ea572cd67f3d5749100b1963ad2
tree99484a1ac84b083a58a60e9bcb3dcbeda44a6988
parent64a327a7029d3860ddf6a024816afa9e6673eb57
[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>
drivers/net/tg3.c