dmadev: add device iterator
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 13 Oct 2021 15:17:28 +0000 (16:17 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 18 Oct 2021 09:17:32 +0000 (11:17 +0200)
commit190f7e84c338beb5cbf086123103cc7e49b05d67
treea44b81d098201de44a19260455b94d2015305295
parentea8cf0f8536d7d37c83cfdfe70fda85ff924c8a0
dmadev: add device iterator

Add a function and wrapper macro to iterate over all DMA devices.

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>
lib/dmadev/rte_dmadev.c
lib/dmadev/rte_dmadev.h
lib/dmadev/version.map