summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2001-05-11 20:15:41 +0000
committerwpaul <wpaul@FreeBSD.org>2001-05-11 20:15:41 +0000
commit5fd005f3e969188a8cae849a4cb83d40c55d0348 (patch)
treea75b7d75a21adafd9414dc969a3fe6552c7df089 /sys/pci
parent853837b8eac47556c47153cfa4f089b28a15f8a7 (diff)
downloadFreeBSD-src-5fd005f3e969188a8cae849a4cb83d40c55d0348.zip
FreeBSD-src-5fd005f3e969188a8cae849a4cb83d40c55d0348.tar.gz
Disable the 'stats counter overflow' interrupts since they can happen
much more often that expected and negatively impact performance when running at 100mbps. I need to figure out if there's a better way to handle this, but for now this shouldn't hurt anything.
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_xlreg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_xlreg.h b/sys/pci/if_xlreg.h
index 8e1248e..cd7554d 100644
--- a/sys/pci/if_xlreg.h
+++ b/sys/pci/if_xlreg.h
@@ -177,7 +177,7 @@
* Interrupts we normally want enabled.
*/
#define XL_INTRS \
- (XL_STAT_UP_COMPLETE|XL_STAT_STATSOFLOW|XL_STAT_ADFAIL| \
+ (XL_STAT_UP_COMPLETE|/*XL_STAT_STATSOFLOW|*/XL_STAT_ADFAIL| \
XL_STAT_DOWN_COMPLETE|XL_STAT_TX_COMPLETE|XL_STAT_INTLATCH)
/*
OpenPOWER on IntegriCloud