* 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.

Of course it depends on how often it mangles the checksum, if it's quite
often it's probably just a better idea to do it in software to lift some
load from the card if doing the hw checksum actually taxes the card.
(like i've heard about tigonII)

-Alfred

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to