summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2006-05-28 18:44:39 +0000
committersilby <silby@FreeBSD.org>2006-05-28 18:44:39 +0000
commite47b8f99a7c5af86f64742ddfa24ca98ab291acc (patch)
treec6c4c1195c48050194bb2090c02db2868466db00
parent76a7bb3ce09948033b8c3425bfb610a37e8aa3b3 (diff)
downloadFreeBSD-src-e47b8f99a7c5af86f64742ddfa24ca98ab291acc.zip
FreeBSD-src-e47b8f99a7c5af86f64742ddfa24ca98ab291acc.tar.gz
Re-revert back to rev 1.8:
- Reduce the number of RX and TX buffers bfe uses so that it does not use more bounce buffers than busdma is willing to allow it to use See if_bfe.c for comments on why this is now safe to do.
-rw-r--r--sys/dev/bfe/if_bfereg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bfe/if_bfereg.h b/sys/dev/bfe/if_bfereg.h
index da7cb4f..f5af780 100644
--- a/sys/dev/bfe/if_bfereg.h
+++ b/sys/dev/bfe/if_bfereg.h
@@ -427,8 +427,8 @@
#define BFE_RX_RING_SIZE 512
#define BFE_TX_RING_SIZE 512
#define BFE_LINK_DOWN 5
-#define BFE_TX_LIST_CNT 511
-#define BFE_RX_LIST_CNT 511
+#define BFE_TX_LIST_CNT 128
+#define BFE_RX_LIST_CNT 128
#define BFE_TX_LIST_SIZE BFE_TX_LIST_CNT * sizeof(struct bfe_desc)
#define BFE_RX_LIST_SIZE BFE_RX_LIST_CNT * sizeof(struct bfe_desc)
#define BFE_RX_OFFSET 30
OpenPOWER on IntegriCloud