Re: zero-copy TCP fileserving

Pete Wyckoff (wyckoff@ca.sandia.gov)
Fri, 24 Sep 1999 09:45:04 -0700


alan@lxorguk.ukuu.org.uk said:
> Yep. Chances of the Linux community being told how to use the feature is
> approximately NIL however

[ feature == ethernet hardware checksum on transmit ]

I added small modifications a while back to 2.2.3 to use this, with a
packet engines gigE card. The driver sets a bit in the dev structure
saying it knows how to do tx checksum, then the IP output path notices
and does only the pseudo header. Hardware adds in the packet body
checksum.

The impact on bandwidth was, however, minimal. At least for 500 MHz
alpha machines. Perhaps somebody with a slower machine will be happier
with the percentage improvements.

Kernel changes:
http://dancer.ca.sandia.gov/~pw/tx-checksum-2.2.3.diff.gz

Packet Engines device driver changes:
http://dancer.ca.sandia.gov/~pw/stock-0.07-checksum.diffs.gz

-- Pete

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/