Rx/tx hardware checksumming statistics?

Christian Weisgerber naddy at mips.inka.de
Sat Aug 9 20:47:43 UTC 2008


OpenBSD keeps count of the packets that have undergone IPv4 header/
TCP/UDP checksumming in hardware.  These statics are available with
netstat -s, e.g.:

ip:
    ...
        492152 input datagrams checksum-processed by hardware
        911338 output datagrams checksum-processed by hardware
    ...

This comes in quite handy to check whether checksum offloading
actually works and which protocols are successfully processed this
way.

On FreeBSD, netstat -s does not provide this information.  Are these
statistics available in some other way?  How would I check whether
packets have actually been checksummed in hardware?

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de



More information about the freebsd-net mailing list