summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/fec.h
diff options
context:
space:
mode:
authorFugang Duan <B38611@freescale.com>2014-09-17 01:18:53 +0400
committerDavid S. Miller <davem@davemloft.net>2014-09-19 23:36:50 +0400
commit73e7228941b135ecca14ab101752bd2d38126046 (patch)
treef89a7bc2c432eb389ab1064f9dc021f24f915590 /drivers/net/ethernet/freescale/fec.h
parentd851b47b22fc4c7b5a739fc5cbc2cbee07adec90 (diff)
downloadlinux-73e7228941b135ecca14ab101752bd2d38126046.tar.xz
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 {
* the skbuffer directly.
*/
-#define FEC_ENET_RX_PAGES 8
+#define FEC_ENET_RX_PAGES 256
#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)