test/dma: add more comprehensive copy tests
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 13 Oct 2021 15:17:32 +0000 (16:17 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 18 Oct 2021 09:19:27 +0000 (11:19 +0200)
commit1b86a66a30c22f6f3ed92d66adef7bcc0f1d2723
tree76e3b5d7f530dbf0a64e6c0d256b6f0dc8cdeabf
parent7f699229857e194ec07d0aabd3fb746728366fef
test/dma: add more comprehensive copy tests

Add unit tests for various combinations of use for dmadev, copying
bursts of packets in various formats, e.g.

1. enqueuing two smaller bursts and completing them as one burst
2. enqueuing one burst and gathering completions in smaller bursts
3. using completed_status() function to gather completions rather than
   just completed()

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Kevin Laatz <kevin.laatz@intel.com>
Reviewed-by: Conor Walsh <conor.walsh@intel.com>
app/test/test_dmadev.c