diff options
author | Simon Kagstrom <simon.kagstrom@netinsight.net> | 2009-11-25 17:10:34 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-26 18:51:18 -0500 |
commit | 2a5774f7d8b79243542d932a3a476f496d03f0ba (patch) | |
tree | a1bd20459e427983448f661832da578318fde92f /drivers/net/via-velocity.c | |
parent | dfff7144b14bab3d8baaeba8926fab371fa4a01e (diff) |
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>
Diffstat (limited to 'drivers/net/via-velocity.c')
-rw-r--r-- | drivers/net/via-velocity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c index 47b28821589b..10c4fb25fb4b 100644 --- a/drivers/net/via-velocity.c +++ b/drivers/net/via-velocity.c | |||
@@ -275,7 +275,7 @@ VELOCITY_PARAM(rx_thresh, "Receive fifo threshold"); | |||
275 | 275 | ||
276 | #define DMA_LENGTH_MIN 0 | 276 | #define DMA_LENGTH_MIN 0 |
277 | #define DMA_LENGTH_MAX 7 | 277 | #define DMA_LENGTH_MAX 7 |
278 | #define DMA_LENGTH_DEF 0 | 278 | #define DMA_LENGTH_DEF 6 |
279 | 279 | ||
280 | /* DMA_length[] is used for controlling the DMA length | 280 | /* DMA_length[] is used for controlling the DMA length |
281 | 0: 8 DWORDs | 281 | 0: 8 DWORDs |