Subject: Re: hardware TCP/UDP checksum support for hme?
To: Erik E. Fair <fair@netbsd.org>
From: john heasley <heas@shrubbery.net>
List: port-sparc
Date: 05/05/2005 15:13:19
Thu, May 05, 2005 at 02:33:11PM -0700, Erik E. Fair:
> This suggests that hme has such support, and examination of the 
> source code seems to suggest that it's there, but maybe not entirely 
> functional, because ifconfig(8) doesn't show the capability bits as 
> settable...
> 
> Anyone know what's going on here?

It does work for me, on sparc64.  There isnt anything I am aware of
that would prevent it from working for sparc.

hme0: flags=8a63<UP,BROADCAST,NOTRAILERS,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        capabilities=66<TCP4CSUM,UDP4CSUM,TCP4CSUM_Rx,UDP4CSUM_Rx>
        enabled=66<TCP4CSUM,UDP4CSUM,TCP4CSUM_Rx,UDP4CSUM_Rx>

My kernel is prior to the most recent change of/to these flags.  I'd
suggest that you ensure your kernel source is up to date and file a PR
if it doesnt work.