summaryrefslogtreecommitdiffstats
path: root/crypto/lrw.c
diff options
context:
space:
mode:
authorJay Cliburn <jacliburn@bellsouth.net>2008-02-02 19:50:05 -0600
committerJeff Garzik <jeff@garzik.org>2008-03-17 07:49:23 -0400
commit9d90fb1ac9d97da86e24d9ea947bf2a2f333829a (patch)
tree6d131717366e60ec0b8d1c8adbc133d99ff5f736 /crypto/lrw.c
parent305282ba19f81e571bd6d2dcc10ebb02e59a06ef (diff)
downloadlinux-9d90fb1ac9d97da86e24d9ea947bf2a2f333829a.tar.bz2
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 <jacliburn@bellsouth.net> Acked-by: Chris Snook <csnook@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions