Skip to content

Commit

Permalink
via-velocity: Change DMA_LENGTH_DEF (from the VIA driver)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Simon Kagstrom authored and David S. Miller committed Nov 26, 2009
1 parent dfff714 commit 2a5774f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/via-velocity.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ VELOCITY_PARAM(rx_thresh, "Receive fifo threshold");

#define DMA_LENGTH_MIN 0
#define DMA_LENGTH_MAX 7
#define DMA_LENGTH_DEF 0
#define DMA_LENGTH_DEF 6

/* DMA_length[] is used for controlling the DMA length
0: 8 DWORDs
Expand Down

0 comments on commit 2a5774f

Please sign in to comment.