Skip to content

Commit 73e7228

Browse files
Fugang Duandavem330
authored andcommitted
net:fec: increase DMA queue number
when enable interrupt coalesce, 8 BD is not enough. Signed-off-by: Frank Li <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d851b47 commit 73e7228

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/freescale

1 file changed

+1
-1
lines changed

drivers/net/ethernet/freescale/fec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ struct bufdesc_ex {
316316
* the skbuffer directly.
317317
*/
318318

319-
#define FEC_ENET_RX_PAGES 8
319+
#define FEC_ENET_RX_PAGES 256
320320
#define FEC_ENET_RX_FRSIZE 2048
321321
#define FEC_ENET_RX_FRPPG (PAGE_SIZE / FEC_ENET_RX_FRSIZE)
322322
#define RX_RING_SIZE (FEC_ENET_RX_FRPPG * FEC_ENET_RX_PAGES)

0 commit comments

Comments
 (0)