]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitfba28d160d8e17e229a9cb781be2055185f22115
tree99484a1ac84b083a58a60e9bcb3dcbeda44a6988
parent952f768ecc3a7160a488ee72d8e926c3bff684bb
[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