summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2006-07-21 01:49:15 +0000
committerbrad <brad@openbsd.org>2006-07-21 01:49:15 +0000
commit3a1df264dc349ca5616e70fe0bf5ff73cfcf9bd8 (patch)
tree4095c9b09e64bac8a4a3fad5e3193162c70cd2f9
parentfix a bug in the input sanity check of DIOCCHANGERULE (not used by pfctl, (diff)
downloadwireguard-openbsd-3a1df264dc349ca5616e70fe0bf5ff73cfcf9bd8.tar.xz
wireguard-openbsd-3a1df264dc349ca5616e70fe0bf5ff73cfcf9bd8.zip
Revert the last commit. The TX descriptor count does not really need
to be set that high and it can cause problems with multiple adapters in the same system.
-rw-r--r--sys/dev/pci/if_ixgb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_ixgb.h b/sys/dev/pci/if_ixgb.h
index d264ebdbd50..496c1e4e044 100644
--- a/sys/dev/pci/if_ixgb.h
+++ b/sys/dev/pci/if_ixgb.h
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_ixgb.h,v 1.6 2006/05/14 22:24:23 brad Exp $ */
+/* $OpenBSD: if_ixgb.h,v 1.7 2006/07/21 01:49:15 brad Exp $ */
#ifndef _IXGB_H_DEFINED_
#define _IXGB_H_DEFINED_
@@ -84,12 +84,12 @@ POSSIBILITY OF SUCH DAMAGE.
/* Tunables */
/*
- * TxDescriptors Valid Range: 64-4096 Default Value: 4096 This value is the
+ * TxDescriptors Valid Range: 64-4096 Default Value: 2048 This value is the
* number of transmit descriptors allocated by the driver. Increasing this
* value allows the driver to queue more transmits. Each descriptor is 16
* bytes.
*/
-#define IXGB_MAX_TXD 4096
+#define IXGB_MAX_TXD 2048
/*
* RxDescriptors Valid Range: 64-4096 Default Value: 1024 This value is the