From: Fugang Duan Date: Fri, 20 Apr 2012 10:16:24 +0000 (+0800) Subject: ENGR00179636-02 - FEC : Enet RX FIFO overruns issue. X-Git-Tag: v3.0.35-fsl_4.1.0~1312 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9f0080b43c42407a7d9f71b860d9885fa1af8236;p=karo-tx-linux.git 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 --- 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)