Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Change NTXSEGS from 16 to 8, and the TXQUEUE len ...



details:   https://anonhg.NetBSD.org/src/rev/9f7e45d5092c
branches:  trunk
changeset: 510172:9f7e45d5092c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon May 21 22:20:31 2001 +0000

description:
Change NTXSEGS from 16 to 8, and the TXQUEUE len from 128 to 256.  Also
increase the number of Rx buffers from 64 to 128.

These mirror some performance tweaks made to the sip(4) driver.

diffstat:

 sys/dev/ic/i82557var.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 82045364bcc9 -r 9f7e45d5092c sys/dev/ic/i82557var.h
--- a/sys/dev/ic/i82557var.h    Mon May 21 22:12:08 2001 +0000
+++ b/sys/dev/ic/i82557var.h    Mon May 21 22:20:31 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i82557var.h,v 1.18 2001/05/21 21:47:53 thorpej Exp $   */
+/*     $NetBSD: i82557var.h,v 1.19 2001/05/21 22:20:31 thorpej Exp $   */
 
 /*-
  * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -76,16 +76,16 @@
 /*
  * Transmit descriptor list size.
  */
-#define        FXP_NTXCB               128
+#define        FXP_NTXCB               256
 #define        FXP_NTXCB_MASK          (FXP_NTXCB - 1)
 #define        FXP_NEXTTX(x)           ((x + 1) & FXP_NTXCB_MASK)
-#define        FXP_NTXSEG              16
+#define        FXP_NTXSEG              8
 
 /*
  * Number of receive frame area buffers.  These are large, so
  * choose wisely.
  */
-#define        FXP_NRFABUFS            64
+#define        FXP_NRFABUFS            128
 
 /*
  * Maximum number of seconds that the reciever can be idle before we



Home | Main Index | Thread Index | Old Index