From owner-freebsd-net@FreeBSD.ORG Sat Mar 22 21:53:47 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC8F7106566C for ; Sat, 22 Mar 2008 21:53:47 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id BAA5B8FC16 for ; Sat, 22 Mar 2008 21:53:47 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so2289810wfa.7 for ; Sat, 22 Mar 2008 14:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=4ta1f2LJu7lI+YnWxMS+hmdgwMCwEp6fFHilGmOmBuI=; b=GKzn1UqPjuWvymTAzZ2cqxw1/Gkcjgkx7Lo6aHvCJGrRB60PWAk9yivQ8iAve/9DArF62qx07ij8JzwiQea9DE4BeYbRnTl5JPEs9IXrl88XLB9NCBqwIl1n9y0u+0IKdVS8e3SWdneRiiRFmRc7Cg1Vx6VppvuQj5yo5Sfps+k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YScoeoJCTvt0ip9j/FRWTwssxtANzK0XwXE7msDaYXa1ZpD/ioGSjf79Otu3stgFymXovzdtkNfzV9Pvyttvfu2jKdhInlIytKGEdifhPOZ5jwkjva1LU+3/yi5LCHp4CeEWcTKhSDp9mOYpoEypL5OXIE2BeXkdJUdTDb/i37g= Received: by 10.114.149.2 with SMTP id w2mr8747684wad.29.1206222826990; Sat, 22 Mar 2008 14:53:46 -0700 (PDT) Received: by 10.115.22.10 with HTTP; Sat, 22 Mar 2008 14:53:46 -0700 (PDT) Message-ID: Date: Sat, 22 Mar 2008 14:53:46 -0700 From: "Kip Macy" To: "Anton Yuzhaninov" In-Reply-To: <47E57C8F.4090602@citrin.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47E57C8F.4090602@citrin.ru> Cc: freebsd-net@freebsd.org Subject: Re: re TSO: data corruption X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Mar 2008 21:53:48 -0000 On Sat, Mar 22, 2008 at 2:39 PM, Anton Yuzhaninov wrote: > When TSO enabled on my re NIC, data transferred via network corrupted. > > It easy to reproduce using scp: > > citrin:~>scp some_file.tar.bz2 some_host: > > .. > Received disconnect from 10.10.10.100: 2: Corrupted MAC on input. > lost connection > > And same when data transferred to any other host. > > re0: flags=8843 metric 0 mtu 1500 > options=399b > ether 00:1a:4d:2d:82:6e > inet 10.10.10.101 netmask 0xfffffe00 broadcast 10.10.10.255 > media: Ethernet autoselect (100baseTX ) > status: active > > re0@pci0:2:5:0: class=0x020000 card=0xe0001458 chip=0x816710ec rev=0x10 hdr=0x00 > vendor = 'Realtek Semiconductor' > device = 'RTL8169/8110 Family Gigabit Ethernet NIC' > class = network > subclass = ethernet > > Known workaround: > ifconfig re0 -tso > > May be TSO should be disabled by default? > On anything coming from Realtek? Probably. Certainly not in general. -Kip