aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/spider_net.h
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2007-06-11 14:29:03 -0400
committerJeff Garzik <jeff@garzik.org>2007-06-20 19:09:33 -0400
commit128c6e2e519fe7d0a15de04f3dde00700145cec4 (patch)
tree09b85b9e6aef25ac912e533452d3c2fcf34eb832 /drivers/net/spider_net.h
parentc3d1182a538fd99b6fe5effa1ab54521c0efb1d1 (diff)
spidernet: turn off descriptor chain end interrupt.
At some point, the transmit descriptor chain end interrupt (TXDCEINT) was turned on. This is a mistake; and it damages small packet transmit performance, as it results in a huge storm of interrupts. Turn it off. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/spider_net.h')
-rw-r--r--drivers/net/spider_net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/spider_net.h b/drivers/net/spider_net.h
index f457bce00e5c..1d054aa71504 100644
--- a/drivers/net/spider_net.h
+++ b/drivers/net/spider_net.h
@@ -222,6 +222,7 @@ extern char spider_net_driver_name[];
222#define SPIDER_NET_GDTBSTA 0x00000300 222#define SPIDER_NET_GDTBSTA 0x00000300
223#define SPIDER_NET_GDTDCEIDIS 0x00000002 223#define SPIDER_NET_GDTDCEIDIS 0x00000002
224#define SPIDER_NET_DMA_TX_VALUE SPIDER_NET_TX_DMA_EN | \ 224#define SPIDER_NET_DMA_TX_VALUE SPIDER_NET_TX_DMA_EN | \
225 SPIDER_NET_GDTDCEIDIS | \
225 SPIDER_NET_GDTBSTA 226 SPIDER_NET_GDTBSTA
226 227
227#define SPIDER_NET_DMA_TX_FEND_VALUE 0x00030003 228#define SPIDER_NET_DMA_TX_FEND_VALUE 0x00030003
@@ -332,8 +333,7 @@ enum spider_net_int2_status {
332 SPIDER_NET_GRISPDNGINT 333 SPIDER_NET_GRISPDNGINT
333}; 334};
334 335
335#define SPIDER_NET_TXINT ( (1 << SPIDER_NET_GDTFDCINT) | \ 336#define SPIDER_NET_TXINT (1 << SPIDER_NET_GDTFDCINT)
336 (1 << SPIDER_NET_GDTDCEINT) )
337 337
338/* We rely on flagged descriptor interrupts */ 338/* We rely on flagged descriptor interrupts */
339#define SPIDER_NET_RXINT ( (1 << SPIDER_NET_GDAFDCINT) ) 339#define SPIDER_NET_RXINT ( (1 << SPIDER_NET_GDAFDCINT) )