PCIe re(4) can't handle TCP csum offloading well if short packets
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 14 Feb 2007 13:00:34 +0000 (13:00 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 14 Feb 2007 13:00:34 +0000 (13:00 +0000)
commit4df76d5d055ea9621d27ec85c469a011800a1945
tree7ef664db5dfc8cd159fe339e7a0cac84f1c9b4ba
parenta4c05c76def830070779ac24981ff2ad18ee17e2
PCIe re(4) can't handle TCP csum offloading well if short packets
are padded by the driver, which is intended to fix PCI re(4) csum
offloading bug.  It turns out both PCI and PCIe re(4) _can_ handle
short packets TCP csum offloading without driver's interferece, so
padding for short TCP packets is avoided.

Obtained-from: FreeBSD (wpaul@freebsd.org)
Tested-by: Joe Talbott <josepht@cstone.net> RTL8101E(PCIe)
   me RTL8169S(PCI) RTL8169SB(PCI)
sys/dev/netif/re/if_re.c