Re: re(4) checksum offload problem

From: Jelte Jansen <jelte_at_NLnetLabs.nl>
Date: Tue, 16 Oct 2007 14:06:07 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pyun YongHyeon wrote:
>  > i'm seeing bad IP/UDP checksums on packets on a realtek gigabit network
>  > card. Turning offloading off (ifconfig -txcsum) seems to make the
>  > problem disappear.
>  > 
> Would you give me more information for your network configuration?
> Which host use re(4) driver? Which host was used to capture the
> traffic?
> 
> If you see bad checksum messages on hosts with Tx checksum enabled
> driver it's quite normal to see bad checksummed frames. Hardware
> will insert computed checksum into the frame after bpf listeners
> see the frame.
> 

Ah, right, they both run re(4) drivers, so what i thought was bad
checksums from the other host were actually not-filled-in-yet checksums
for response packets to those packets (...).

I get it now, when you don't offload they are computed before the
filter, so in that case you don't get these 'errors'. But with
offloading it's not done until the packets are sent on the wire.

Annoying, that :)

But thanks, and sorry for the noise.

Jelte

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFHFKkv4nZCKsdOncURAhObAJ4pR8rZ+bpa3zTjbjm29Hd1mJr7RgCYqF3Y
2SJZjpgn0JyomTUiDnU/Sw==
=q3u0
-----END PGP SIGNATURE-----
Received on Tue Oct 16 2007 - 10:06:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC