From: Jay Cliburn Date: Sun, 3 Feb 2008 01:50:05 +0000 (-0600) Subject: atl1: fix broken TSO X-Git-Tag: v2.6.26-rc1~1138^2~390^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d90fb1ac9d97da86e24d9ea947bf2a2f333829a;p=pandora-kernel.git atl1: fix broken TSO The L1 tx packet descriptor expects TCP Header Length to be expressed as a number of 32-bit dwords. The atl1 driver uses tcp_hdrlen() to populate the field, but tcp_hdrlen() returns the header length in bytes, not in dwords. Add a shift to convert tcp_hdrlen() to dwords when we write it to the tpd. Also, some of our bit assignments are made to the wrong tpd words. Change those to the correct words. Finally, since all this fixes TSO, enable TSO by default. Signed-off-by: Jay Cliburn Acked-by: Chris Snook Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed