From owner-freebsd-current@FreeBSD.ORG Wed Jan 24 10:37:32 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9696D16A409 for ; Wed, 24 Jan 2007 10:37:32 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 194BE13C4B9 for ; Wed, 24 Jan 2007 10:37:31 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so119053uge for ; Wed, 24 Jan 2007 02:37:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type; b=RhD6QFVUlK0H+0HXP9NeDImLQxmUNCmVIe1oi5V/+LXfAgu3DMAQW4vjaer9YR/u3Zf/Jv1bzfi71MvwY8LzH5HbeXuvQfpOSUgBl40Qa6eeb0aBY/YWZgPmc5NRHDc7BIYi3N3nb5qeFDd548xSIeTDV+zkUt8AsGnQ4IWobgU= Received: by 10.66.252.4 with SMTP id z4mr471151ugh.1169635050941; Wed, 24 Jan 2007 02:37:30 -0800 (PST) Received: from ?192.168.123.202? ( [195.241.221.201]) by mx.google.com with ESMTP id i39sm781353ugd.2007.01.24.02.37.29; Wed, 24 Jan 2007 02:37:29 -0800 (PST) Message-ID: <45B736DE.1000100@gmail.com> Date: Wed, 24 Jan 2007 11:37:18 +0100 From: Rene Ladan User-Agent: Thunderbird 1.5.0.9 (X11/20070119) MIME-Version: 1.0 To: Bill Paul References: <20070124071403.CE9E916A401@hub.freebsd.org> In-Reply-To: <20070124071403.CE9E916A401@hub.freebsd.org> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/mixed; boundary="------------040206020202080206020709" Cc: pyunyh@gmail.com, freebsd-current@freebsd.org Subject: Re: Call for re(4) checksum offload testers. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2007 10:37:32 -0000 This is a multi-part message in MIME format. --------------040206020202080206020709 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Bill Paul schreef: [...] > I'm very confused as to why the chip botches the TX checksumming in > this case. Unfortunately, most of this confusion stems from the fact > that you didn't specify exactly which chip rev the user with this > problem has, or give a test case to trip the bug. > I am that user, using this card, found in Asus A6JE laptops. From pciconf: card: class=0x020000 card=0x11f51043 chip=0x816810ec rev=0x01 hdr=0x00 vendor=Realtek Semiconductor device=RTL8168/8111 PCI-E Gigabit Ethernet NIC > I'm assuming this yet another problem with small IP fragments being > mangled. That being the case, it should be possible to trip the bug > with "ping -s 1473 ." (1473 is 1 byte too large to fit into > a 1500 byte frame, which will cause a 1 byte fragment to be sent.) > I thought I tested this with my sample PCIe cards though, and didn't > see a problem. I'll have to try it again tomorrow. > ping -s 1473 succeeds both with and without the patch (i.e. ping gives timings), I've included two tcpdumps for further analysis. The bug is visible when logging in to sites such as gmail.com or nl.bol.com (a Dutch shopping site), or when connecting Thunderbird to pop.gmail.com (which uses POP3 with SSL) > > -Bill > > -- Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 --------------040206020202080206020709 Content-Type: application/octet-stream; name="re0.orig" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="re0.orig" 1MOyoQIABAAAAAAAAAAAAGAAAAABAAAAkTS3Rfr1CAAqAAAAKgAAAP///////wAY87eJNAgG AAEIAAYEAAEAGPO3iTTAqHvKAAAAAAAAwKh7/pE0t0Xz9wgAPAAAADwAAAAAGPO3iTQAU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sd0ABUW3NJYACQfa CAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJicoKSorLC0uLzAxMjM0NZY0t0UHCAkA PAAAADwAAAAAUBhH5DwAGPO3iTQIAEUAABU+4AC5QAEAAMCoe8rAqHv+wAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAACWNLdFQA4JAGAAAADqBQAAABjzt4k0AFAYR+Q8CABFAAXcABAgAEAB 2/fAqHv+wKh7ygAAkpmx3QAFRbc0lgAJB9oICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIj JCUmJygpKissLS4vMDEyMzQ1ljS3RUwOCQA8AAAAPAAAAAAY87eJNABQGEfkPAgARQAAFQAQ ALlAAQEGwKh7/sCoe8rAAJZysd0ABEW3NJUACQQDCAkKCwwNDg8QEZc0t0XQCwkAYAAAAOoF AAAAUBhH5DwAGPO3iTQIAEUABdw+4SAAQAEAAMCoe8rAqHv+CACGwbHdAAZFtzSXAAkLsAgJ CgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDWXNLdF3QsJADwA AAA8AAAAAFAYR+Q8ABjzt4k0CABFAAAVPuEAuUABAADAqHvKwKh7/sAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAlzS3RRoSCQBgAAAA6gUAAAAY87eJNABQGEfkPAgARQAF3AEQIABAAdr3 wKh7/sCoe8oAAI7Bsd0ABkW3NJcACQuwCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQl JicoKSorLC0uLzAxMjM0NZc0t0UnEgkAPAAAADwAAAAAGPO3iTQAUBhH5DwIAEUAABUBEAC5 QAEABsCoe/7AqHvKwACSmbHdAAVFtzSWAAkH2ggJCgsMDQ4PEBE= --------------040206020202080206020709 Content-Type: application/octet-stream; name="re0.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="re0.patch" 1MOyoQIABAAAAAAAAAAAAGAAAAABAAAATTS3RZenAwBgAAAA6gUAAABQGEfkPAAY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