From 49caa8a9f8bf67375f30c3b4aff7115202ebdd4d Mon Sep 17 00:00:00 2001 From: Scott Long Date: Sat, 21 Oct 2006 20:41:08 +0000 Subject: [PATCH] There seems to be a problem with txcsum and UDP. Turn it off until it is understood better. This fixes timeout problems with NFS. --- sys/dev/bce/if_bcereg.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/dev/bce/if_bcereg.h b/sys/dev/bce/if_bcereg.h index df1b686463a4..41dd02dd046a 100644 --- a/sys/dev/bce/if_bcereg.h +++ b/sys/dev/bce/if_bcereg.h @@ -4613,7 +4613,12 @@ struct fw_info { #define BCE_BUS_SPACE_MAXADDR 0xFFFFFFFFFF #endif +/* XXX UDP checksum offload seems to cause problems on transmit */ +#ifdef BCE_UDP_CSUM #define BCE_IF_HWASSIST (CSUM_IP | CSUM_TCP | CSUM_UDP) +#else +#define BCE_IF_HWASSIST (CSUM_TCP) +#endif #if __FreeBSD_version < 700000 #define BCE_IF_CAPABILITIES (IFCAP_VLAN_MTU | IFCAP_VLAN_HWTAGGING | \