Re: [dpdk-dev] [PATCH v3] vhost: add unsafe API to check inflight packets

2021-09-22 Thread Ding, Xuan
> Subject: Re: [dpdk-dev] [PATCH v3] vhost: add unsafe API to check inflight > packets > > On 16/09/2021 03:58, Xuan Ding wrote: > > In async data path, when vring state changes, it is necessary to > > know the number of inflight packets in DMA engine. This patch > > provide

Re: [dpdk-dev] [PATCH v3] vhost: add unsafe API to check inflight packets

2021-09-21 Thread Kevin Traynor
On 16/09/2021 03:58, Xuan Ding wrote: In async data path, when vring state changes, it is necessary to know the number of inflight packets in DMA engine. This patch provides a thread unsafe API to return the number of inflight packets without using any lock. Signed-off-by: Xuan Ding --- v3: * F

[dpdk-dev] [PATCH v3] vhost: add unsafe API to check inflight packets

2021-09-15 Thread Xuan Ding
In async data path, when vring state changes, it is necessary to know the number of inflight packets in DMA engine. This patch provides a thread unsafe API to return the number of inflight packets without using any lock. Signed-off-by: Xuan Ding --- v3: * Fixed one typo. * Revised the doc to be m