Browse Source

Reduce number of DMA pages used by IPEDMA engine to address current hardware limit of 1023

Suren A. Chilingaryan 7 years ago
parent
commit
39c2378869
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dma/ipe.h

+ 1 - 1
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) */