]> git.baikalelectronics.ru Git - kernel.git/commit
myri10ge: correctly detect when TSO should be used
authorBrice Goglin <brice@myri.com>
Tue, 27 Mar 2007 19:54:53 +0000 (21:54 +0200)
committerJeff Garzik <jeff@garzik.org>
Wed, 28 Mar 2007 06:18:50 +0000 (02:18 -0400)
commitb624a9d280993b8b6951f2c107cfbd8e4d3e5c34
tree7fa878d49198084cc42475e802b22e86c70cfabf
parent63166a6c13b5da58f2c829f39cf19ff9b6115c78
myri10ge: correctly detect when TSO should be used

Correctly detect when TSO should be used on transmit by looking at the
skb->gso_size rather than seeing if the frame was larger than our MTU.
The old method causes problems when a host with a large (jumbo) MTU is
sending to a host with a small (standard) MTU.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/myri10ge/myri10ge.c