Re: re TSO: data corruption



On Sat, Mar 22, 2008 at 2:39 PM, Anton Yuzhaninov <citrin@xxxxxxxxx> 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
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: broken re(4)
    ... device = 'RTL8169/8110 Family Gigabit Ethernet NIC' ... class = network ... Disconnecting: Corrupted MAC on input. ...
    (freebsd-stable)
  • Re: broken re(4)
    ... device = 'RTL8169/8110 Family Gigabit Ethernet NIC' ... With this new machine I see several networking problems. ... Disconnecting: Corrupted MAC on input. ...
    (freebsd-stable)