diff options
| author | yamt <yamt@NetBSD.org> | 2005-05-15 07:48:49 +0000 |
|---|---|---|
| committer | yamt <yamt@NetBSD.org> | 2005-05-15 07:48:49 +0000 |
| commit | f3bf234dc9802407441fb081ff8ebf5528fbf3f6 (patch) | |
| tree | 9108acae406863fafe7ed9fcadc1222aa75c7449 /sys/dev | |
| parent | a1484a9949b4cdc223d360c13fd2dccba08d7148 (diff) | |
disable IFCAP_CSUM_IPv4_Tx and comment why.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/rtl8169.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/ic/rtl8169.c b/sys/dev/ic/rtl8169.c index a62a9fa682a..df34af8fd75 100644 --- a/sys/dev/ic/rtl8169.c +++ b/sys/dev/ic/rtl8169.c @@ -1,4 +1,4 @@ -/* $NetBSD: rtl8169.c,v 1.18 2005/05/02 15:34:31 yamt Exp $ */ +/* $NetBSD: rtl8169.c,v 1.19 2005/05/15 07:48:49 yamt Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -749,8 +749,13 @@ re_attach(struct rtk_softc *sc) ETHERCAP_VLAN_MTU | ETHERCAP_VLAN_HWTAGGING; ifp->if_start = re_start; ifp->if_stop = re_stop; + + /* + * IFCAP_CSUM_IPv4_Tx seems broken for small packets. + */ + ifp->if_capabilities |= - IFCAP_CSUM_IPv4_Tx | IFCAP_CSUM_IPv4_Rx | + /* IFCAP_CSUM_IPv4_Tx | */ IFCAP_CSUM_IPv4_Rx | IFCAP_CSUM_TCPv4_Tx | IFCAP_CSUM_TCPv4_Rx | IFCAP_CSUM_UDPv4_Tx | IFCAP_CSUM_UDPv4_Rx | IFCAP_TSOv4; |
