Explorar o código

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

Suren A. Chilingaryan %!s(int64=7) %!d(string=hai) anos
pai
achega
39c2378869
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) */