Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2004 04:10:46 -0000
From:      Hendrik Scholz <hscholz@raisdorf.net>
To:        pf4freebsd@freelists.org
Subject:   [pf4freebsd] Re: Strange problem/Need help
Message-ID:  <41036498.70705@raisdorf.net>
In-Reply-To: <200407230602.34822.max@love2party.net>
References:  <200407230602.34822.max@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

Max Laier wrote:
>  It turned out (after days of brainwracking debugging) that
> the problem went away by disabling the i386 optimized version of in4_cksum(). 

Did you take into account that certain network cards do checksums in 
hardware?

[0.27] hscholz@deimos:~ > ifconfig xl0
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
         options=9<RXCSUM,VLAN_MTU>

bge(4) and other good 10/100 and Gbit cards do even more so if the
TXCSUM option is enabled bpf sees packets with broken checksums as these
are calculated by the NIC itself before sending.

Just my $.02,
	Hendrik





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41036498.70705>