From owner-freebsd-current@FreeBSD.ORG Tue Oct 16 12:06:06 2007 Return-Path: <owner-freebsd-current@FreeBSD.ORG> Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EAEC16A420 for <freebsd-current@freebsd.org>; Tue, 16 Oct 2007 12:06:06 +0000 (UTC) (envelope-from jelte@NLnetLabs.nl) Received: from open.nlnetlabs.nl (open.nlnetlabs.nl [IPv6:2001:7b8:206:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id B88DA13C47E for <freebsd-current@freebsd.org>; Tue, 16 Oct 2007 12:06:05 +0000 (UTC) (envelope-from jelte@NLnetLabs.nl) Received: from mirre.nlnetlabs.nl (mirre.nlnetlabs.nl [IPv6:2001:7b8:206:1:219:d1ff:fe0b:89f4]) by open.nlnetlabs.nl (8.14.1/8.14.1) with ESMTP id l9GC62rs052917 for <freebsd-current@freebsd.org>; Tue, 16 Oct 2007 14:06:02 +0200 (CEST) (envelope-from jelte@NLnetLabs.nl) Message-ID: <4714A92F.4010506@NLnetLabs.nl> Date: Tue, 16 Oct 2007 14:06:07 +0200 From: Jelte Jansen <jelte@NLnetLabs.nl> User-Agent: Thunderbird 2.0.0.6 (X11/20070910) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <471490DF.7010609@NLnetLabs.nl> <20071016112814.GE79351@cdnetworks.co.kr> In-Reply-To: <20071016112814.GE79351@cdnetworks.co.kr> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (open.nlnetlabs.nl [IPv6:2001:7b8:206:1::53]); Tue, 16 Oct 2007 14:06:02 +0200 (CEST) X-Spam-Status: No, score=-102.5 required=5.0 tests=AWL,BAYES_00,NO_RELAYS, USER_IN_WHITELIST autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on open.nlnetlabs.nl Subject: Re: re(4) checksum offload problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current <freebsd-current.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current> List-Post: <mailto:freebsd-current@freebsd.org> List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 16 Oct 2007 12:06:06 -0000 -----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-----