diff options
author | Clemens Ladisch | 2011-04-11 09:57:54 +0200 |
---|---|---|
committer | Stefan Richter | 2011-04-19 20:00:11 +0200 |
commit | da28947e7e3602669e27d5e9ce787436ed662fa4 (patch) | |
tree | 33b3cfb25fddbe12b4f19f02ce3253872eed2436 /scripts/checkversion.pl | |
parent | ecf8328e59447b83a1f79628487e0e9f8801db84 (diff) |
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 'scripts/checkversion.pl')
0 files changed, 0 insertions, 0 deletions