commit | 917690cd035b422b1ac933ac160d26016aa454ac | [log] [tgz] |
---|---|---|
author | Brice Goglin <brice@myri.com> | Tue Mar 27 21:54:53 2007 +0200 |
committer | Jeff Garzik <jeff@garzik.org> | Wed Mar 28 02:18:50 2007 -0400 |
tree | 7fa878d49198084cc42475e802b22e86c70cfabf | |
parent | 28defbea64622f69d65a6079bf800cedb9915a5f [diff] |
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>