diff options
author | yongari <yongari@FreeBSD.org> | 2007-06-16 02:54:19 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2007-06-16 02:54:19 +0000 |
commit | aa21172c53f6073edb65982a4e58cffa257b08f1 (patch) | |
tree | b3e9600aaf01fdd6fe2fbf32ce64000780fd353c /sys/dev/re | |
parent | 2ef4baf470b65f11726bd097a06d5250b7fb4f2c (diff) | |
download | FreeBSD-src-aa21172c53f6073edb65982a4e58cffa257b08f1.zip FreeBSD-src-aa21172c53f6073edb65982a4e58cffa257b08f1.tar.gz |
Disable TSO support.
Without bus_dma clean up and increment of number of Tx descriptors
it's hard to guarantee correct Tx operation in TSO case. The TSO
support would be enabled again when I get more feeback from re(4)
patch posted to current.
Diffstat (limited to 'sys/dev/re')
-rw-r--r-- | sys/dev/re/if_re.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c index 83e743a..86cf44f 100644 --- a/sys/dev/re/if_re.c +++ b/sys/dev/re/if_re.c @@ -1270,8 +1270,8 @@ re_attach(dev) ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_ioctl = re_ioctl; ifp->if_start = re_start; - ifp->if_hwassist = RE_CSUM_FEATURES | CSUM_TSO; - ifp->if_capabilities = IFCAP_HWCSUM | IFCAP_TSO4; + ifp->if_hwassist = RE_CSUM_FEATURES; + ifp->if_capabilities = IFCAP_HWCSUM; ifp->if_capenable = ifp->if_capabilities; ifp->if_init = re_init; IFQ_SET_MAXLEN(&ifp->if_snd, RL_IFQ_MAXLEN); |