浏览代码

via-velocity: Change DMA_LENGTH_DEF (from the VIA driver)

The VIA driver has changed the default for the DMA_LENGTH_DEF parameter.
Together with adaptive interrupt supression and NAPI support, this
improves performance quite a bit

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Simon Kagstrom 15 年之前
父节点
当前提交
2a5774f7d8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/net/via-velocity.c

+ 1 - 1
drivers/net/via-velocity.c

@@ -275,7 +275,7 @@ VELOCITY_PARAM(rx_thresh, "Receive fifo threshold");
 
 
 #define DMA_LENGTH_MIN  0
 #define DMA_LENGTH_MIN  0
 #define DMA_LENGTH_MAX  7
 #define DMA_LENGTH_MAX  7
-#define DMA_LENGTH_DEF  0
+#define DMA_LENGTH_DEF  6
 
 
 /* DMA_length[] is used for controlling the DMA length
 /* DMA_length[] is used for controlling the DMA length
    0: 8 DWORDs
    0: 8 DWORDs