dmadev: add channel status check for testing use
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 13 Oct 2021 15:17:24 +0000 (16:17 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 18 Oct 2021 09:17:21 +0000 (11:17 +0200)
commit5e0f85912754bf0d50c940165c40cac68e7c762f
treee3358c3f1fbf8e57eef755bef4ef58aee97136bf
parent9942ebb9c698a53b86e2bbd450f3e24238771fe5
dmadev: add channel status check for testing use

Add in a function to check if a device or vchan has completed all jobs
assigned to it, without gathering in the results. This is primarily for
use in testing, to allow the hardware to be in a known-state prior to
gathering completions.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Conor Walsh <conor.walsh@intel.com>
Reviewed-by: Kevin Laatz <kevin.laatz@intel.com>
drivers/dma/skeleton/skeleton_dmadev.c
drivers/dma/skeleton/skeleton_dmadev.h
lib/dmadev/rte_dmadev.c
lib/dmadev/rte_dmadev.h
lib/dmadev/rte_dmadev_pmd.h
lib/dmadev/version.map