Tweak FIFO and DMA thresholds to improve performance and reduce likelyhood

of RX FIFO overruns.

Submitted by: bde
This commit is contained in:
Bill Paul 1999-06-20 18:56:09 +00:00
parent 4b4c702b0b
commit c9c4bee48c

View File

@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: if_rlreg.h,v 1.19 1999/06/19 20:01:32 wpaul Exp wpaul $
* $Id: if_rlreg.h,v 1.8 1999/06/19 20:17:38 wpaul Exp $
*/
/*
@ -299,10 +299,10 @@
#define RL_RXBUFLEN (1 << ((RL_RX_BUF_SZ >> 11) + 13))
#define RL_TX_LIST_CNT 4
#define RL_MIN_FRAMELEN 60
#define RL_TX_EARLYTHRESH 0x00300000 /* 1536 << 11 */
#define RL_RX_FIFOTHRESH RL_RXFIFO_NOTHRESH
#define RL_RX_MAXDMA RL_RXDMA_64BYTES
#define RL_TX_MAXDMA RL_TXDMA_64BYTES
#define RL_TX_EARLYTHRESH (256 << 11)
#define RL_RX_FIFOTHRESH RL_RXFIFO_256BYTES
#define RL_RX_MAXDMA RL_RXDMA_256BYTES
#define RL_TX_MAXDMA RL_TXDMA_256BYTES
#define RL_RXCFG_CONFIG (RL_RX_FIFOTHRESH|RL_RX_MAXDMA|RL_RX_BUF_SZ)
#define RL_TXCFG_CONFIG (RL_TXCFG_IFG|RL_TX_MAXDMA)