Subject: Re: Hardware checksums
To: Matthias Scheler <tron@zhadum.org.uk>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-users
Date: 10/25/2006 20:33:22
On Tue, Oct 24, 2006 at 05:48:51PM +0100, Matthias Scheler wrote:
> On Tue, Oct 24, 2006 at 02:46:00PM +0100, Matthias Scheler wrote:
> > > 2 nights ago I upgraded a box with a 3C905 from NetBSD 2.0 E
> > > (1 May 2004) to current, so I can safely say that 1.6 (and 2.0E)
> > > ifconfig didn't know about tcp4csum, but current does. (Can't
> > > remember when it came in - guess 3.0?)
> > 
> > No, 2.0 (which is newer than 2.0E) already supported hardware checksum.
> 
> Actually both of the above statements are wrong:
> 1.) NetBSD 1.6 already had support for checksum offload. It didn't
>     support all options later NetBSD versions support but at least
>     network interface which support full IPv4 IP, UDP and TCP
>     checksum support.
> 
> 2.) NetBSD 2.0E is of course newer than NetBSD 2.0.
>     (I really hate the old versioning scheme).

?! I went from

NetBSD 2.0E (HENRY) #40: Sat May  1 20:28:56 BST 2004
-r-xr-xr-x  1 root  wheel  43572 Apr 28  2004 ifconfig

to

NetBSD 4.99.3 (HENRY) #44: Sun Oct 22 17:58:40 BST 2006
-r-xr-xr-x  1 root  wheel  49003 Oct 18 16:35 ifconfig

ifconfig ex0 ip4csum

on a 3Com 3c905C-TX 10/100 gave an error with 2.0E, not 4.99.3...
(#41,42,43 where the compat_aout experiments) But yes, I didn't
use cvs to answer, I had only just seen it myself on Sunday :-/

Apologies if this was disinformation..

Patrick