From f28a171ce2650e441eb2c0a5be2aac5d4162e8f8 Mon Sep 17 00:00:00 2001 From: Pyun YongHyeon Date: Sat, 16 Jun 2007 02:54:19 +0000 Subject: [PATCH] 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. --- sys/dev/re/if_re.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c index 83e743a98477..86cf44fb764c 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);