By default do not enable hardware csum on PCIe re(4), which trashes
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 15 Jan 2007 12:53:26 +0000 (12:53 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 15 Jan 2007 12:53:26 +0000 (12:53 +0000)
commit610fc4606f057bab9cf6f1c530e8d97f3966f0ae
tree644e9a216aa3cb5f83106b1e56654ebfbdc5320a
parent8790d7d8852e6f1030de7979c7db191075191a22
By default do not enable hardware csum on PCIe re(4), which trashes
packets intermittently if csum offload is enabled.  This problem does
not seem to plague PCI re(4).

The pattern of trashed packets is not yet identified.  From the tcpdump
information provided by Joe, the packets' size should not be the direct
cause.  Hardware bug?

Reported-by: Joe Talbott <josepht@cstone.net> (RTL8101E, PCIe re(4))
# Same problem is reported to FreeBSD by two RTL8168B(PCIe re(4)) users.
sys/dev/netif/re/if_re.c
sys/dev/netif/re/if_revar.h