summaryrefslogtreecommitdiffstats
path: root/dma
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2012-10-20 00:01:40 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2012-10-20 00:01:40 +0200
commitaec34126786fe2936bb3e78e71da3d2719591cfd (patch)
treeae7de923fc30541d9c5ba1c74bc69c83e0150247 /dma
parent84bb1bb6130f1745ecc19a0210d06e2fe7a1635f (diff)
downloadpcitool-aec34126786fe2936bb3e78e71da3d2719591cfd.tar.gz
pcitool-aec34126786fe2936bb3e78e71da3d2719591cfd.tar.bz2
pcitool-aec34126786fe2936bb3e78e71da3d2719591cfd.tar.xz
pcitool-aec34126786fe2936bb3e78e71da3d2719591cfd.zip
Decrease size of DMA buffer (bigger sizes limit DMA bandwidth)
Diffstat (limited to 'dma')
-rw-r--r--dma/nwl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dma/nwl.h b/dma/nwl.h
index 0b262da..d295e23 100644
--- a/dma/nwl.h
+++ b/dma/nwl.h
@@ -13,7 +13,7 @@ typedef struct pcilib_nwl_engine_description_s pcilib_nwl_engine_description_t;
#define PCILIB_NWL_ALIGNMENT 64 // in bytes
#define PCILIB_NWL_DMA_DESCRIPTOR_SIZE 64 // in bytes
-#define PCILIB_NWL_DMA_PAGES 2048 // 1024
+#define PCILIB_NWL_DMA_PAGES 256 // 1024
//#define DEBUG_HARDWARE
//#define DEBUG_NWL