net:fec: increase DMA queue number
authorFugang Duan <B38611@freescale.com>
Tue, 16 Sep 2014 21:18:53 +0000 (05:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Sep 2014 19:36:50 +0000 (15:36 -0400)
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>
drivers/net/ethernet/freescale/fec.h

index e4eb89742ece2db145deecebf21f1a7a18066080..26fb1de98826c2e71e3772c64caf5f4cae179bbb 100644 (file)
@@ -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)