diff options
author | Fugang Duan <B38611@freescale.com> | 2014-09-16 17:18:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-19 15:36:50 -0400 |
commit | 73e7228941b135ecca14ab101752bd2d38126046 (patch) | |
tree | f89a7bc2c432eb389ab1064f9dc021f24f915590 /drivers/net/ethernet/freescale/fec.h | |
parent | d851b47b22fc4c7b5a739fc5cbc2cbee07adec90 (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.h | 2 |
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) |