From 39c23788696c7f1ff76687bfeac376a919138844 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 24 Nov 2016 12:24:43 +0100 Subject: Reduce number of DMA pages used by IPEDMA engine to address current hardware limit of 1023 --- dma/ipe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dma/ipe.h b/dma/ipe.h index 2cd045d..849aa9d 100644 --- a/dma/ipe.h +++ b/dma/ipe.h @@ -6,7 +6,7 @@ #include "version.h" #define IPEDMA_PAGE_SIZE 4096l /**< page size */ -#define IPEDMA_DMA_PAGES 1024l /**< number of DMA pages in the ring buffer to allocate */ +#define IPEDMA_DMA_PAGES 512l /**< number of DMA pages in the ring buffer to allocate */ #define IPEDMA_DMA_TIMEOUT 100000l /**< us, overrides PCILIB_DMA_TIMEOUT (actual hardware timeout is 50ms according to Lorenzo) */ -- cgit v1.2.3