Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2008 00:39:27 +0300
From:      Anton Yuzhaninov <citrin@citrin.ru>
To:        freebsd-net@freebsd.org
Subject:   re TSO: data corruption
Message-ID:  <47E57C8F.4090602@citrin.ru>

next in thread | raw e-mail | index | archive | help
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?

System is fresh:
FreeBSD 8.0-CURRENT #7: Sat Mar 22 20:59:10 MSK 2008
amd64

-- 
WBR,
  Anton Yuzhaninov



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