Re: [PATCH v2 3/4] examples/dma: support enqueue drop statistic

2022-04-19 Thread Bruce Richardson
On Sat, Apr 16, 2022 at 02:19:24PM +0800, fengchengwen wrote: > DMA is a memcopy engine, and from that perspective, I think it's appropriate > to use copy_failures when dma_enqueue fails. > > The newly added enqueue_failures is mainly used for rte_ring_enqueue_burst > failures. > > Since the app

Re: [PATCH v2 3/4] examples/dma: support enqueue drop statistic

2022-04-13 Thread Bruce Richardson
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