Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion linux-user-space-dma/Software/User/dma-proxy-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,9 @@ int main(int argc, char *argv[])
* convert it from KB to bytes
*/
test_size = atoi(argv[2]);
test_size *= 1024;
if (test_size > BUFFER_SIZE)
test_size = BUFFER_SIZE;
test_size *= 1024;

/* Verify is off by default to get pure performance of the DMA transfers without the CPU accessing all the data
* to slow it down.
Expand Down