re TSO: data corruption

Kip Macy kip.macy at gmail.com
Sat Mar 22 14:53:48 PDT 2008


On Sat, Mar 22, 2008 at 2:39 PM, Anton Yuzhaninov <citrin at 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 at 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


More information about the freebsd-net mailing list