Date: Thu, 16 Sep 2004 04:10:51 -0000 From: Max Laier <max@love2party.net> To: pf4freebsd@freelists.org Subject: [pf4freebsd] Re: Strange problem/Need help Message-ID: <200407310103.26700.max@love2party.net> In-Reply-To: <41036498.70705@raisdorf.net> References: <200407230602.34822.max@love2party.net> <41036498.70705@raisdorf.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-02=_+OtCBqzXx16IAj4 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 25 July 2004 09:43, Hendrik Scholz wrote: > 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? Yes, we do account for that. In fact I did commit an improvement to the way= we=20 handle RXSUM from Pyun just before Christian had this fall out so my first= =20 though was, that I might have broken something with that commit. Turned out= =20 that this was not the case. Christian told me that doing the GCC update fix= ed=20 the issue, btw. So I impute the whole issue to a compiler bug/issue or brok= en=20 build environment. > [0.27] hscholz@deimos:~ > ifconfig xl0 > xl0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 > options=3D9<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. Even most of the xl(4) cards can do that, but due to broken hardware this i= s=20 disabled since early this year. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --Boundary-02=_+OtCBqzXx16IAj4 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBBCtO+XyyEoT62BG0RAsw8AJ45qSIv0sahd9pbTnGVeTZ3SjHy1ACfYRvu vM+zA01BwHiUF7vxJlY7GMU= =BMb7 -----END PGP SIGNATURE----- --Boundary-02=_+OtCBqzXx16IAj4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407310103.26700.max>