>* David Greenman-Lawrence <[EMAIL PROTECTED]> [020513 13:10] wrote: >> >> The card doesn't drop the packet if the IP/TCP checksum is wrong. In my >> tests, I did a software checksum on the supposedly bad packet, and found it >> to be good every time. So it DMA's correctly, the checksum is just calculated >> incorrectly by the hardware. > >Probably pretty obvious, but adding a flag "if bad hwsum, then try softsum" >probably wouldn't be too hard.
Not obvious at all. How do you know if a packet is good or bad without always doing the software checksum? -DG David Greenman-Lawrence Co-founder, The FreeBSD Project - http://www.freebsd.org President, TeraSolutions, Inc. - http://www.terasolutions.com President, Download Technologies, Inc. - http://www.downloadtech.com Pave the road of life with opportunities. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message