summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDon Fry <pcnet32@verizon.net>2007-03-06 03:13:09 +0100
committerJeff Garzik <jeff@garzik.org>2007-03-06 12:14:54 +0100
commitb2cbbd8e0e8093fbf115ac2669482b016d781c78 (patch)
tree04d96724cf39fb65e7209da608fcda0f22d14666 /arch
parent__devinit & __devexit cleanups for de2104x driver (diff)
downloadlinux-b2cbbd8e0e8093fbf115ac2669482b016d781c78.tar.xz
linux-b2cbbd8e0e8093fbf115ac2669482b016d781c78.zip
pcnet32: Fix PCnet32 performance bug on non-coherent architecutres
The PCnet32 driver always passed the the size of the largest possible packet to the pci_dma_sync_single_for_cpu and pci_dma_sync_single_for_device. This results in a fairly large "colateral damage" in the caches and makes the flush operation itself much slower. On a system with a 40MHz CPU this patch increases network bandwidth by about 12%. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Acked-by: Don Fry <pcnet32@verizon.net> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions