Re: [PATCH v2] examples/dma: support DMA dequeue when no packet received

2022-10-03 Thread Thomas Monjalon
25/07/2022 14:48, Bruce Richardson: > On Mon, Jul 25, 2022 at 08:22:00PM +0800, Chengwen Feng wrote: > > Currently the example using DMA in asynchronous mode, which are: > > nb_rx = rte_eth_rx_burst(); > > if (nb_rx == 0) > > continue; > > ... > > dma_enqueue(); // enque

Re: [PATCH v2] examples/dma: support DMA dequeue when no packet received

2022-07-26 Thread Kevin Laatz
On 25/07/2022 13:22, Chengwen Feng wrote: Currently the example using DMA in asynchronous mode, which are: nb_rx = rte_eth_rx_burst(); if (nb_rx == 0) continue; ... dma_enqueue(); // enqueue the received packets copy request nb_cpl = dma_deq

Re: [PATCH v2] examples/dma: support DMA dequeue when no packet received

2022-07-25 Thread Bruce Richardson
On Mon, Jul 25, 2022 at 08:22:00PM +0800, Chengwen Feng wrote: > Currently the example using DMA in asynchronous mode, which are: > nb_rx = rte_eth_rx_burst(); > if (nb_rx == 0) > continue; > ... > dma_enqueue(); // enqueue the received packets copy request >