]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00179636-02 - FEC : Enet RX FIFO overruns issue.
authorFugang Duan <B38611@freescale.com>
Fri, 20 Apr 2012 10:16:24 +0000 (18:16 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:36 +0000 (14:11 +0200)
- Increase RX BD size to 384 entrys from 16 entrys, which
  can reduce the overruns number in busy system.

Signed-off-by: Fugang Duan <B38611@freescale.com>
drivers/net/fec.c

index a93ac31e690f4e1e893518b0ac116a6639565eae..0fe11753b4c0eddda96a958a81d82b35c095582f 100755 (executable)
@@ -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)