projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfff714
)
via-velocity: Change DMA_LENGTH_DEF (from the VIA driver)
author
Simon Kagstrom
<
[email protected]
>
Wed, 25 Nov 2009 22:10:34 +0000
(22:10 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 26 Nov 2009 23:51:18 +0000
(15:51 -0800)
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/via-velocity.c
patch
|
blob
|
history
diff --git
a/drivers/net/via-velocity.c
b/drivers/net/via-velocity.c
index 47b28821589b4ffac0635be3c42fb4a80fa762e8..10c4fb25fb4ba09fa8a40ad5b2161c5f1ef173db 100644
(file)
--- a/
drivers/net/via-velocity.c
+++ b/
drivers/net/via-velocity.c
@@
-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