diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2006-10-10 16:18:18 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-10-11 04:04:26 -0400 |
commit | a664ccf430547696951bf3949f5a2de5079ece5a (patch) | |
tree | 53fc9fdba563fe8f70c9a3de51b78c52de84fe23 /drivers/net/spider_net_ethtool.c | |
parent | 499eea18722e43f0ee15e11ac16ffcbd10b70b24 (diff) |
[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_ethtool.c')
0 files changed, 0 insertions, 0 deletions