summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2010-01-19 13:48:14 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2010-01-19 13:48:14 +0000
commit8b61ebf3622ec79a5fc04bc524bebc27d50a75cd (patch)
treee6f396049a19cad9323cd4613fb7341b764ddeb6
parent807cdcb9bd4192e71b6da344e8ceefdf3e7748fb (diff)
IP checksum is still broken with fragments, turn it off for now.
ok dlg@
-rw-r--r--sys/dev/pci/if_ix.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c
index 591448b9e0e..42f03f7c8e2 100644
--- a/sys/dev/pci/if_ix.c
+++ b/sys/dev/pci/if_ix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ix.c,v 1.33 2010/01/11 02:04:25 reyk Exp $ */
+/* $OpenBSD: if_ix.c,v 1.34 2010/01/19 13:48:13 reyk Exp $ */
/******************************************************************************
@@ -1359,14 +1359,15 @@ ixgbe_setup_interface(struct ix_softc *sc)
m_clsetwms(ifp, MCLBYTES, 4, sc->num_rx_desc);
- ifp->if_capabilities = IFCAP_VLAN_MTU | IFCAP_CSUM_IPv4;
+ ifp->if_capabilities = IFCAP_VLAN_MTU;
#if NVLAN > 0
ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING;
#endif
#ifdef IX_CSUM_OFFLOAD
- ifp->if_capabilities |= IFCAP_CSUM_TCPv4 | IFCAP_CSUM_UDPv4;
+ ifp->if_capabilities |= IFCAP_CSUM_TCPv4 | IFCAP_CSUM_UDPv4 |
+ IFCAP_CSUM_IPv4;
#endif
sc->max_frame_size =