[dpdk-dev] [PATCH v19 1/7] dmadev: introduce DMA device library public APIs
Conor Walsh
conor.walsh at intel.com
Fri Sep 3 17:35:17 CEST 2021
> 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 <fengchengwen at huawei.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> Acked-by: Morten Brørup <mb at smartsharesystems.com>
> Acked-by: Jerin Jacob <jerinjacobk at 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.walsh at intel.com>
More information about the dev
mailing list