On Sat, 2011-08-20 at 11:18 +0100, Ben Gray wrote:
> Thanks everyone,
> 
>   Cheers for the tips on the mac address, I must admit I wasn't aware
> of the locally assigned bit in the address.
> 
>    As for H/W checksum offloading, the main problem is the datasheet
> for the chip is under NDA which I'm unwilling to sign, so I'm working
> off the Linux driver. It seems under Linux if the TCP/UDP checksum
> fails it reverts to a software calculation and as far as I can tell
> FreeBSD doesn't do this. Hence it seems under Linux the driver reports
> incorrect csums but the kernel covers up for it.
[...]

That's right.  Linux doesn't entirely trust hardware checksum
validation, so drivers can't report that the checksum was definitely
bad.  You should be able to get this behaviour on FreeBSD by not setting
any checksum flags if the hardware says the checksum is bad.

Ben.

-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to