mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
tests/dma: fix chunk size for simple DMA (should have been 4k)
This commit is contained in:
parent
c67c8aac5b
commit
d67a120902
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ Test(fpga, dma, .description = "DMA")
|
|||
|
||||
/* Simple DMA can only transfer up to 4 kb due to
|
||||
* PCIe page size burst limitation */
|
||||
ssize_t len2, len = dma->inst.HasSg ? 64 << 20 : 1 << 2;
|
||||
ssize_t len2, len = dma->inst.HasSg ? 64 << 20 : 1 << 12;
|
||||
|
||||
ret = dma_alloc(dm, &mem, 2 * len, 0);
|
||||
cr_assert_eq(ret, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue