ucbdma: userspace cbdma test
authorAditya Basu <mitthu@google.com>
Sat, 17 Aug 2019 01:14:16 +0000 (21:14 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 19 Aug 2019 16:39:09 +0000 (12:39 -0400)
commit49f16148fed9e8e8392483123824f76a1ae9f1f6
tree52bc1af90bd5766806650350ea7f143ae26fef7d
parenta00d5220bf4efb0978ba8dcd285b4c78358050b2
ucbdma: userspace cbdma test

* Creates a ring buffer of a single descriptor.
* The copy buffers are placed in low memory in the same descriptor page.
* Takes a pcidev as argument and instructs the IOMMU to passthru that
device.

Signed-off-by: Aditya Basu <mitthu@google.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tests/ucbdma.c [new file with mode: 0644]