summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2007-11-17 15:52:24 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2007-11-17 15:52:24 +0000
commit8d9bbe85d00f9e364647b8aae756a31ed935f8b0 (patch)
tree5e24d0669b1e24032e702e8a10307fc724f0a0a8 /sys
parent9d701aaacc5315b5b5e6c24fb714f18429e3dcf8 (diff)
Disable jumbo allocator until the low number of buffers case
is better handled. This will likely resolve stalls some people are seeing under high load. ok damien@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_nfe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c
index 4caf81c2a20..26f90ad1395 100644
--- a/sys/dev/pci/if_nfe.c
+++ b/sys/dev/pci/if_nfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nfe.c,v 1.72 2007/09/12 00:42:04 jsg Exp $ */
+/* $OpenBSD: if_nfe.c,v 1.73 2007/11/17 15:52:23 jsg Exp $ */
/*-
* Copyright (c) 2006, 2007 Damien Bergamini <damien.bergamini@free.fr>
@@ -252,9 +252,11 @@ nfe_attach(struct device *parent, struct device *self, void *aux)
break;
}
+#ifdef notyet
/* enable jumbo frames for adapters that support it */
if (sc->sc_flags & NFE_JUMBO_SUP)
sc->sc_flags |= NFE_USE_JUMBO;
+#endif
nfe_get_macaddr(sc, sc->sc_arpcom.ac_enaddr);
printf(", address %s\n", ether_sprintf(sc->sc_arpcom.ac_enaddr));