diff options
author | 2007-11-17 15:52:23 +0000 | |
---|---|---|
committer | 2007-11-17 15:52:23 +0000 | |
commit | fe512033b2d0d0fff820ab9f65722ab47859dac5 (patch) | |
tree | c191dd072cedb7b7ab9dafa124708ff87867a9de | |
parent | implement ic_set_key() and ic_delete_key() callbacks. (diff) | |
download | wireguard-openbsd-fe512033b2d0d0fff820ab9f65722ab47859dac5.tar.xz wireguard-openbsd-fe512033b2d0d0fff820ab9f65722ab47859dac5.zip |
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@
-rw-r--r-- | sys/dev/pci/if_nfe.c | 4 |
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)); |