summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@openbsd.org>2006-02-21 20:52:15 +0000
committerdamien <damien@openbsd.org>2006-02-21 20:52:15 +0000
commite6a3662576b72de0e7b7df8e1f160c63153b96f8 (patch)
tree1335fecd314042ddf7d499ecee9515811b057b7c
parentKNF (diff)
downloadwireguard-openbsd-e6a3662576b72de0e7b7df8e1f160c63153b96f8.tar.xz
wireguard-openbsd-e6a3662576b72de0e7b7df8e1f160c63153b96f8.zip
disable interrupt mitigation until i figure out why we're spending 10% of
CPU time in interrupts with it.
-rw-r--r--sys/dev/pci/if_nfe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c
index 811512f2cc5..53fa4e342cd 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.43 2006/02/20 20:19:47 damien Exp $ */
+/* $OpenBSD: if_nfe.c,v 1.44 2006/02/21 20:52:15 damien Exp $ */
/*-
* Copyright (c) 2006 Damien Bergamini <damien.bergamini@free.fr>
@@ -1074,7 +1074,7 @@ nfe_init(struct ifnet *ifp)
tmp = NFE_READ(sc, NFE_PWR_STATE);
NFE_WRITE(sc, NFE_PWR_STATE, tmp | NFE_PWR_VALID);
-#if 1
+#if 0
/* configure interrupts coalescing/mitigation */
NFE_WRITE(sc, NFE_IMTIMER, NFE_IM_DEFAULT);
#else