Subject: Hardware checksums
To: None <netbsd-users@netbsd.org>
From: Michael D. Spence <spence@panix.com>
List: netbsd-users
Date: 10/24/2006 08:59:13
I'm running NetBSD 1.6.  My ex device (a 3com 3C905) supports hardware 
checksumming, and yet the driver doesn't seem to care, nor can I enable it:


ifconfig ex0

ex0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:60:08:9a:53:6c
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet xxx.xxx.xxx.xxx netmask 0xfffffc00 broadcast 255.255.255.255

ifconfig ex0 ip4csum
ifconfig: SIOCSIFCAP: Invalid argument



And yet ere's an ifconfig that I turned up with Google, from a NetBSD 1.5
system:

ex0: flags=8963<UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,SIMPLEX,MULTICAST>
mtu 1500 
        capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM> 
        enabled=7<IP4CSUM,TCP4CSUM,UDP4CSUM> 
        address: 00:04:76:de:ba:da 
        media: Ethernet autoselect (10baseT) 
        status: active 
        inet xxx.xxx.xxx.xxx netmask 0xfffffff8 broadcast xxx.xxx.xxx.xxx 

What going on here?  Is there something I have to enable in the kernel?


Michael D. Spence
Mockingbird Data Systems, Inc.