summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2006-10-21 20:41:08 +0000
committerScott Long <scottl@FreeBSD.org>2006-10-21 20:41:08 +0000
commit49caa8a9f8bf67375f30c3b4aff7115202ebdd4d (patch)
tree1d8444fa477866b8ac05860378cb253eb8efad4c /sys
parent27111d392c7430f1056120466f910e7a580925c7 (diff)
Notes
Diffstat (limited to 'sys')
-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 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 | \