Discussion:
comprehensive test/verification of NIC checksum offload hardware
(too old to reply)
Erik Fair
2013-07-13 02:51:56 UTC
Permalink
Do we have any tests in our test suite to verify the correctness of IP/TCP/UDP checksum offloading hardware in the various Ethernet NICs (e.g. wm, bge, gem, hme)?

curious,

Erik <***@netbsd.org>


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Izumi Tsutsui
2013-07-13 14:38:23 UTC
Permalink
Post by Erik Fair
Do we have any tests in our test suite to verify the correctness
of IP/TCP/UDP checksum offloading hardware in the various
Ethernet NICs (e.g. wm, bge, gem, hme)?
I usually used tcpdump(8) and vmstat(8) -e with
options IP_CSUM_COUNTERS, UDP_CSUM_COUNTERS, TCP_CSUM_COUNTERS
in the debug kernel with a dumb HUB to monitor packets on other machines.

iptest(1) and ipsend(1) might also help to send bad packets with
IP header options etc.

---
Izumi Tsutsui

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...