diff options
author | Fugang Duan <B38611@freescale.com> | 2012-04-20 18:16:24 +0800 |
---|---|---|
committer | Xinyu Chen <xinyu.chen@freescale.com> | 2012-05-08 16:07:06 +0800 |
commit | d5cd768e82df8f6abbcba3dd5118b1e1a8df8572 (patch) | |
tree | 90839fc38996e335c42affb64c7c7c7ac9c2f9aa /drivers/net | |
parent | 90150d0381e062d0e800f93e0076897b0cbdc3c6 (diff) |
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 <B38611@freescale.com>
Diffstat (limited to 'drivers/net')
-rwxr-xr-x | drivers/net/fec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |