summaryrefslogtreecommitdiffstats
path: root/drivers/net/spider_net.h
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2006-10-10 23:18:18 +0200
committerJeff Garzik <jeff@garzik.org>2006-10-11 10:04:26 +0200
commita664ccf430547696951bf3949f5a2de5079ece5a (patch)
tree53fc9fdba563fe8f70c9a3de51b78c52de84fe23 /drivers/net/spider_net.h
parent[PATCH] powerpc/cell spidernet (diff)
downloadlinux-a664ccf430547696951bf3949f5a2de5079ece5a.tar.xz
linux-a664ccf430547696951bf3949f5a2de5079ece5a.zip
[PATCH] powerpc/cell spidernet reduce DMA kicking
The current code attempts to start the TX dma every time a packet is queued. This is too conservative, and wastes CPU time. This patch changes behaviour to call the kick-dma function less often, only when the tx queue is at risk of emptying. This reduces cpu usage, improves performance. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Cc: James K Lewis <jklewis@us.ibm.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/spider_net.h')
0 files changed, 0 insertions, 0 deletions