]> git.droids-corp.org - dpdk.git/commit
test/dma: check index when no DMA completed
authorChengwen Feng <fengchengwen@huawei.com>
Fri, 27 May 2022 03:40:53 +0000 (11:40 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 7 Jun 2022 10:38:13 +0000 (12:38 +0200)
commitf25265f004aa6e7c3cb8658c9e5edf3c73ee802f
tree2695bdb00667c869d4f6b5cca8652c6c05c01fd2
parent2301dee9709fe07f79f92a032bf510a206397cc4
test/dma: check index when no DMA completed

If no DMA request is completed, the ring_idx of the last completed
operation need returned by last_idx parameter. This patch adds
testcase for it.

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Tested-by: Kevin Laatz <kevin.laatz@intel.com>
app/test/test_dmadev.c