aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/fec.h
diff options
context:
space:
mode:
authorFugang Duan <B38611@freescale.com>2014-09-16 17:18:53 -0400
committerDavid S. Miller <davem@davemloft.net>2014-09-19 15:36:50 -0400
commit73e7228941b135ecca14ab101752bd2d38126046 (patch)
treef89a7bc2c432eb389ab1064f9dc021f24f915590 /drivers/net/ethernet/freescale/fec.h
parentd851b47b22fc4c7b5a739fc5cbc2cbee07adec90 (diff)
net:fec: increase DMA queue number
when enable interrupt coalesce, 8 BD is not enough. Signed-off-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec.h')
-rw-r--r--drivers/net/ethernet/freescale/fec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fec.h b/drivers/net/ethernet/freescale/fec.h
index e4eb89742ece..26fb1de98826 100644
--- a/drivers/net/ethernet/freescale/fec.h
+++ b/drivers/net/ethernet/freescale/fec.h
@@ -316,7 +316,7 @@ struct bufdesc_ex {
316 * the skbuffer directly. 316 * the skbuffer directly.
317 */ 317 */
318 318
319#define FEC_ENET_RX_PAGES 8 319#define FEC_ENET_RX_PAGES 256
320#define FEC_ENET_RX_FRSIZE 2048 320#define FEC_ENET_RX_FRSIZE 2048
321#define FEC_ENET_RX_FRPPG (PAGE_SIZE / FEC_ENET_RX_FRSIZE) 321#define FEC_ENET_RX_FRPPG (PAGE_SIZE / FEC_ENET_RX_FRSIZE)
322#define RX_RING_SIZE (FEC_ENET_RX_FRPPG * FEC_ENET_RX_PAGES) 322#define RX_RING_SIZE (FEC_ENET_RX_FRPPG * FEC_ENET_RX_PAGES)