The 'dmadevice' is a generic type of DMA device. This patch introduce the 'dmadevice' public APIs which expose generic operations that can enable configuration and I/O with the DMA devices. Maintainers update is also included in this patch. Signed-off-by: Chengwen Feng <fengcheng...@huawei.com> Acked-by: Bruce Richardson <bruce.richard...@intel.com> Acked-by: Morten Brørup <m...@smartsharesystems.com> Acked-by: Jerin Jacob <jerinjac...@gmail.com> ---
<snip>
+ +/** + * rte_dmadev_stats - running statistics. + */ +struct rte_dmadev_stats { + uint64_t submitted; + /**< Count of operations which were submitted to hardware. */ + uint64_t completed; + /**< Count of operations which were completed. */ + uint64_t errors; + /**< Count of operations which failed to complete. */ +};
Please make it clear that completed is the total completed operations including any failures.
<snip> Reviewed-by: Conor Walsh <conor.wa...@intel.com>