summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ix.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2012-10-30 09:26:45 +0000
committerBrad Smith <brad@cvs.openbsd.org>2012-10-30 09:26:45 +0000
commit282a4c7d5d88d39ca222a9e75bc2b74086b8141a (patch)
treec44c4808df6f8a799fb9487706c28d1e6566ee83 /sys/dev/pci/if_ix.h
parent7470ca4279864058e817c10cd90f83e61b656c58 (diff)
Bump the default number of descriptors.
ok mikeb@
Diffstat (limited to 'sys/dev/pci/if_ix.h')
-rw-r--r--sys/dev/pci/if_ix.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/if_ix.h b/sys/dev/pci/if_ix.h
index c982eff9248..aac42b13db5 100644
--- a/sys/dev/pci/if_ix.h
+++ b/sys/dev/pci/if_ix.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ix.h,v 1.17 2012/08/08 14:44:13 mikeb Exp $ */
+/* $OpenBSD: if_ix.h,v 1.18 2012/10/30 09:26:44 brad Exp $ */
/******************************************************************************
@@ -42,19 +42,19 @@
/* Tunables */
/*
- * TxDescriptors Valid Range: 64-4096 Default Value: 256 This value is the
+ * TxDescriptors Valid Range: 64-4096 Default Value: 512 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. Performance tests have show the 2K value to be optimal for top
* performance.
*/
-#define DEFAULT_TXD 256
+#define DEFAULT_TXD 512
#define PERFORM_TXD 2048
#define MAX_TXD 4096
#define MIN_TXD 64
/*
- * RxDescriptors Valid Range: 64-4096 Default Value: 256 This value is the
+ * RxDescriptors Valid Range: 64-4096 Default Value: 512 This value is the
* number of receive descriptors allocated for each RX queue. Increasing this
* value allows the driver to buffer more incoming packets. Each descriptor
* is 16 bytes. A receive buffer is also allocated for each descriptor.
@@ -63,7 +63,7 @@
* against the system mbuf pool limit, you can tune nmbclusters
* to adjust for this.
*/
-#define DEFAULT_RXD 256
+#define DEFAULT_RXD 512
#define PERFORM_RXD 2048
#define MAX_RXD 4096
#define MIN_RXD 64