If RX csum calculation with pseudo header is enabled, bge(4)'s will
commit6ad373c3572967a204e22fdd0ca36b7d12762913
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 26 Jun 2007 15:10:23 +0000 (26 15:10 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 26 Jun 2007 15:10:23 +0000 (26 15:10 +0000)
treef1efe756535e09eb2f47ead35967fe43f69ed420
parent2978547343332eb74ec7051ad3ad0cdd89c16d08
If RX csum calculation with pseudo header is enabled, bge(4)'s will
miscalculate csum of frames carrying UDP datagrams.  If UDP datagrams
are not fragmented by IP, then the rate of miscalculation is low, but
if UDP datagrams are fragmented by IP, then most of the frames will be
delivered to the upper layer with wrong hardware csum, which is quite
common for NFS.

Disable hardware RX csum calculation with pseudo header; it will be
better than doing software csum if hardware csum error happens, since
the error rate is too high.

Reported-by: Thomas Nikolajsen <thomas.nikolajsen@mail.dk>
sys/dev/netif/bge/if_bge.c