From 473d84e299e1bf4cc461dd5382e588c8b99cb634 Mon Sep 17 00:00:00 2001 From: Fugang Duan Date: Fri, 20 Apr 2012 18:16:24 +0800 Subject: [PATCH] ENGR00179636-02 - FEC : Enet RX FIFO overruns issue. - Increase RX BD size to 384 entrys from 16 entrys, which can reduce the overruns number in busy system. Signed-off-by: Fugang Duan --- drivers/net/fec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fec.c b/drivers/net/fec.c index a93ac31e690f..0fe11753b4c0 100755 --- a/drivers/net/fec.c +++ b/drivers/net/fec.c @@ -119,7 +119,7 @@ MODULE_PARM_DESC(macaddr, "FEC Ethernet MAC address"); * We don't need to allocate pages for the transmitter. We just use * the skbuffer directly. */ -#define FEC_ENET_RX_PAGES 8 +#define FEC_ENET_RX_PAGES 192 #define FEC_ENET_RX_FRSIZE 2048 #define FEC_ENET_RX_FRPPG (PAGE_SIZE / FEC_ENET_RX_FRSIZE) #define RX_RING_SIZE (FEC_ENET_RX_FRPPG * FEC_ENET_RX_PAGES) -- 2.39.5