提交 73e72289 编写于 作者: F Fugang Duan 提交者: David S. Miller

net:fec: increase DMA queue number

when enable interrupt coalesce, 8 BD is not enough.
Signed-off-by: NFrank Li <Frank.Li@freescale.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d851b47b
...@@ -316,7 +316,7 @@ struct bufdesc_ex { ...@@ -316,7 +316,7 @@ struct bufdesc_ex {
* the skbuffer directly. * 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_FRSIZE 2048
#define FEC_ENET_RX_FRPPG (PAGE_SIZE / FEC_ENET_RX_FRSIZE) #define FEC_ENET_RX_FRPPG (PAGE_SIZE / FEC_ENET_RX_FRSIZE)
#define RX_RING_SIZE (FEC_ENET_RX_FRPPG * FEC_ENET_RX_PAGES) #define RX_RING_SIZE (FEC_ENET_RX_FRPPG * FEC_ENET_RX_PAGES)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册