summaryrefslogtreecommitdiffstats
path: root/sys/dev/bce
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2006-10-21 20:41:08 +0000
committerscottl <scottl@FreeBSD.org>2006-10-21 20:41:08 +0000
commit4aba6782237384502b0e6133979939b3fdea22c8 (patch)
tree1d8444fa477866b8ac05860378cb253eb8efad4c /sys/dev/bce
parent16797e6408c5d25f40e46145b0922ec631fefe64 (diff)
downloadFreeBSD-src-4aba6782237384502b0e6133979939b3fdea22c8.zip
FreeBSD-src-4aba6782237384502b0e6133979939b3fdea22c8.tar.gz
There seems to be a problem with txcsum and UDP. Turn it off until it is
understood better. This fixes timeout problems with NFS.
Diffstat (limited to 'sys/dev/bce')
-rw-r--r--sys/dev/bce/if_bcereg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/bce/if_bcereg.h b/sys/dev/bce/if_bcereg.h
index df1b686..41dd02d 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 | \
OpenPOWER on IntegriCloud