diff options
author | 2011-04-11 09:57:54 +0200 | |
---|---|---|
committer | 2011-04-19 20:00:11 +0200 | |
commit | da28947e7e3602669e27d5e9ce787436ed662fa4 (patch) | |
tree | 33b3cfb25fddbe12b4f19f02ce3253872eed2436 /sound | |
parent | firewire: ohci: do not start DMA contexts before link is enabled (diff) | |
download | linux-da28947e7e3602669e27d5e9ce787436ed662fa4.tar.gz linux-da28947e7e3602669e27d5e9ce787436ed662fa4.tar.bz2 linux-da28947e7e3602669e27d5e9ce787436ed662fa4.zip |
firewire: ohci: avoid separate DMA mapping for small AT payloads
For AT packet payloads of up to eight bytes, we have enough unused space
in the DMA descriptors list so that we can put a copy of the payload
there and thus avoid having to create a separate streaming DMA mapping
for the payload buffer.
In a CPU-bound microbenchmark that just sends 8-byte packets, bandwidth
was measured to increase by 5.7 %, from 1009 KB/s to 1067 KB/s. In
practice, the only performance-sensitive usage of small asynchronous
packets is the SBP-2 driver's write to the ORB_POINTER register during
SCSI command submission.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions