Skip to content

Commit

Permalink
net:fec: increase DMA queue number
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fugang Duan authored and David S. Miller committed Sep 19, 2014
1 parent d851b47 commit 73e7228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/freescale/fec.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 73e7228

Please sign in to comment.