Transmit csum offload does not work at all on certain hardware revision
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 3 Oct 2008 14:07:02 +0000 (14:07 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 3 Oct 2008 14:07:02 +0000 (14:07 +0000)
commit043ecbf0c4caab66f0476f5ef784598c1f7d49bd
treeb3107c000775ffdd663994f5ebfe9d6dfa50e019
parent809a273d9dce644ac043f696b8cacc649e66b381
Transmit csum offload does not work at all on certain hardware revision
once frame length exceeds certain threshold (different parts seems to
have different thresholds).  Borrow code from ip_output to do software
csum, if transmit csum offloading is enabled and frame length exceeds
hardware's threshold.

8169, 8169S, 8169SB and 8168B are tested, while 8169S and 8169SB does not
seem to have this bug.
sys/dev/netif/re/if_re.c
sys/dev/netif/re/if_revar.h