Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2007 11:37:18 +0100
From:      Rene Ladan <r.c.ladan@gmail.com>
To:        Bill Paul <wpaul@FreeBSD.ORG>
Cc:        pyunyh@gmail.com, freebsd-current@freebsd.org
Subject:   Re: Call for re(4) checksum offload testers.
Message-ID:  <45B736DE.1000100@gmail.com>
In-Reply-To: <20070124071403.CE9E916A401@hub.freebsd.org>
References:  <20070124071403.CE9E916A401@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <somehost>." (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 <NAT box> 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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
QAEABsCoe/7AqHvKwACSmbHdAAVFtzSWAAkH2ggJCgsMDQ4PEBE=
--------------040206020202080206020709
Content-Type: application/octet-stream;
 name="re0.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="re0.patch"

1MOyoQIABAAAAAAAAAAAAGAAAAABAAAATTS3RZenAwBgAAAA6gUAAABQGEfkPAAY87eJNAgA
RQAF3D7WIABAAQAAwKh7ysCoe/4IALBi7NwAAEW3NE0AA6dlCAkKCwwNDg8QERITFBUWFxgZ
GhscHR4fICEiIyQlJicoKSorLC0uLzAxMjM0NU00t0WppwMAKgAAACoAAAAAUBhH5DwAGPO3
iTQIAEUAABU+1gC5QAEAAMCoe8rAqHv+wAAAAAAAAABNNLdF6K0DAGAAAADqBQAAABjzt4k0
AFAYR+Q8CABFAAXc6Q8gAEAB8vfAqHv+wKh7ygAAuGLs3AAARbc0TQADp2UICQoLDA0ODxAR
EhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1TjS3RRSqAwBgAAAA6gUAAABQ
GEfkPAAY87eJNAgARQAF3D7XIABAAQAAwKh7ysCoe/4IAK3P7NwAAUW3NE4AA6n2CAkKCwwN
Dg8QERITFBUWFxgZGhscHR4fICEiIyQlJicoKSorLC0uLzAxMjM0NU40t0UiqgMAKgAAACoA
AAAAUBhH5DwAGPO3iTQIAEUAABU+1wC5QAEAAMCoe8rAqHv+wAAAAAAAAABONLdFSLEDAGAA
AADqBQAAABjzt4k0AFAYR+Q8CABFAAXc6g8gAEAB8ffAqHv+wKh7ygAAtc/s3AABRbc0TgAD
qfYICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1TjS3RVKx
AwA8AAAAPAAAAAAY87eJNABQGEfkPAgARQAAFeoPALlAARcGwKh7/sCoe8rAALhi7NwAAEW3
NE0AA6dlCAkKCwwNDg8QEU80t0XTsQMAYAAAAOoFAAAAUBhH5DwAGPO3iTQIAEUABdw+2CAA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AAAAAUBhH
5DwAGPO3iTQIAEUAABU+2gC5QAEAAMCoe8rAqHv+wAAAAAAAAABRNLdFusMDAGAAAADqBQAA
ABjzt4k0AFAYR+Q8CABFAAXc7Q8gAEAB7vfAqHv+wKh7ygAAonbs3AAERbc0UQADvUkICQoL
DA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1UTS3RcfDAwA8AAAA
PAAAAAAY87eJNABQGEfkPAgARQAAFe0PALlAARQGwKh7/sCoe8rAAKjA7NwAA0W3NFAAA7cB
CAkKCwwNDg8QEQ==
--------------040206020202080206020709--



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