Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2008 14:53:46 -0700
From:      "Kip Macy" <kip.macy@gmail.com>
To:        "Anton Yuzhaninov" <citrin@citrin.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: re TSO: data corruption
Message-ID:  <b1fa29170803221453n6c1f5b73g5f9e300c8655ab29@mail.gmail.com>
In-Reply-To: <47E57C8F.4090602@citrin.ru>
References:  <47E57C8F.4090602@citrin.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 22, 2008 at 2:39 PM, Anton Yuzhaninov <citrin@citrin.ru> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>          options=399b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
>          ether 00:1a:4d:2d:82:6e
>          inet 10.10.10.101 netmask 0xfffffe00 broadcast 10.10.10.255
>          media: Ethernet autoselect (100baseTX <full-duplex>)
>          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



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