Hi All, Has anyone used hwassist in there Ethernet driver? My Ethernet chip supports offloading CRC/FCS generation/checking for transmits/receives and I'd like to take advantage of that to save CPU processing time and improve transfer speed. It seems like I need to do something in the driver _start() but I'm not sure. I've found some documentation on the various CSUM_ values at http://people.freebsd.org/~jlemon/csum.txt m_pkthdr.csum_flag appears that it needs to be set when receiving and ifp->if_hwassist needs to be set on output but where is the right place and to what values? I think I can set at least CSUM_IP | CSUM_TCP | CSUM_UDP on transmits and CSUM_IP_CHECKED | CSUM_IP_VALID for receives. Any helpful pointers would be appreciated.
...Laurie:{) -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss