diff options
author | silby <silby@FreeBSD.org> | 2006-05-28 18:44:39 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2006-05-28 18:44:39 +0000 |
commit | e47b8f99a7c5af86f64742ddfa24ca98ab291acc (patch) | |
tree | c6c4c1195c48050194bb2090c02db2868466db00 | |
parent | 76a7bb3ce09948033b8c3425bfb610a37e8aa3b3 (diff) | |
download | FreeBSD-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.h | 4 |
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 |