Re: [PATCH v1 0/2] vhost: add unsafe API to get DMA inflight packets

2022-05-05 Thread Maxime Coquelin
On 4/8/22 12:22, xuan.d...@intel.com wrote: > This patchset introduces an unsafe API to get the number of inflight > packets in DMA engine. It should be only used within the vhost ops > which already holds the lock. Like vring state changes or device is > destroyed. Compared with rte_vhost_asyn

[PATCH v1 0/2] vhost: add unsafe API to get DMA inflight packets

2022-04-08 Thread xuan . ding
From: Xuan Ding This patchset introduces an unsafe API to get the number of inflight packets in DMA engine. It should be only used within the vhost ops which already holds the lock. Like vring state changes or device is destroyed. Compared with rte_vhost_async_get_inflight(), this is a lock free