If RX csum calculation with pseudo header is enabled, bge(4)'s will
commit1a1dac8b06ef5310a6b4596f1d129d0f8f439a85
authorsephe <sephe>
Tue, 26 Jun 2007 15:10:23 +0000 (26 15:10 +0000)
committersephe <sephe>
Tue, 26 Jun 2007 15:10:23 +0000 (26 15:10 +0000)
tree6b076fc391ed03e593fd308224cce270e30cede0
parentac0392766c79f53a62c2e9c89d54f19d9347b730
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