aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioatdma.h
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@intel.com>2007-10-18 06:07:14 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 17:37:32 -0400
commit7f2b291f56d08e001454d16d3c92e175434898b3 (patch)
tree41b0c324e93db47fd5114fed2fddbba963492383 /drivers/dma/ioatdma.h
parent5149fd010f404889b7d8f79159057791fbb817b1 (diff)
I/OAT: Tighten descriptor setup performance
The change to the async_tx interface cost this driver some performance by spreading the descriptor setup across several functions, including multiple passes over the new descriptor chain. Here we bring the work back into one primary function and only do one pass. [akpm@linux-foundation.org: cleanups, uninline] Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Cc: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/dma/ioatdma.h')
-rw-r--r--drivers/dma/ioatdma.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma/ioatdma.h b/drivers/dma/ioatdma.h
index d3643f264507..5f9881e7b0ed 100644
--- a/drivers/dma/ioatdma.h
+++ b/drivers/dma/ioatdma.h
@@ -124,9 +124,9 @@ struct ioat_desc_sw {
124 struct ioat_dma_descriptor *hw; 124 struct ioat_dma_descriptor *hw;
125 struct list_head node; 125 struct list_head node;
126 int tx_cnt; 126 int tx_cnt;
127 DECLARE_PCI_UNMAP_LEN(len) 127 size_t len;
128 DECLARE_PCI_UNMAP_ADDR(src) 128 dma_addr_t src;
129 DECLARE_PCI_UNMAP_ADDR(dst) 129 dma_addr_t dst;
130 struct dma_async_tx_descriptor async_tx; 130 struct dma_async_tx_descriptor async_tx;
131}; 131};
132 132