[PATCH v2 3/4] examples/dma: support enqueue drop statistic
Bruce Richardson
bruce.richardson at intel.com
Wed Apr 13 17:01:00 CEST 2022
On Mon, Apr 11, 2022 at 08:14:58PM +0800, Chengwen Feng wrote:
> The copy drop statistic counted in two scenarios: DMA copy failures and
> enqueue failures. so it is difficult to locate the problem.
>
Is the app actually tracking copy failures? From a quick glance at the code
it looks to me like the only "copy_failures" are the enqueue failures, in
which case the stat should just be renamed.
> This patch adds enqueue drop statistic to fix the it.
>
> Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
> ---
> examples/dma/dmafwd.c | 14 +++++++++-----
> 1 file changed, 9 insertions(+), 5 deletions(-)
>
More information about the dev
mailing list