diff options
author | Dave Jiang <dave.jiang@intel.com> | 2016-02-11 01:00:32 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-02-15 20:36:53 +0300 |
commit | dd4645ebb7d100bb04ba38ec58b499cbe95322fa (patch) | |
tree | 3d1a8fff4a89b359952d77249dcccc5a9cc9276c /drivers/dma/ioat/hw.h | |
parent | cd60cd96137f6cb3ea82cace9225626619e7a52d (diff) | |
download | linux-dd4645ebb7d100bb04ba38ec58b499cbe95322fa.tar.xz |
dmaengine: IOATDMA: Allocate DMA descriptor ring in contig DMA memory
Future IOATDMA hardware will take advantage of descriptors residing in
contiguous memory. Setting the descriptor ring in max config DMA memory
of 2MB. Each channel will need 2 of these chunks. This should provide 64k
of 64B descriptors.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ioat/hw.h')
-rw-r--r-- | drivers/dma/ioat/hw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/ioat/hw.h b/drivers/dma/ioat/hw.h index 690e3b4f8202..8e67895bcca3 100644 --- a/drivers/dma/ioat/hw.h +++ b/drivers/dma/ioat/hw.h @@ -73,6 +73,8 @@ int system_has_dca_enabled(struct pci_dev *pdev); +#define IOAT_DESC_SZ 64 + struct ioat_dma_descriptor { uint32_t size; union { |