Re: [dpdk-dev] [PATCH v6 2/5] vhost: add unsafe API to clear packets in async vhost

2021-07-21 Thread Maxime Coquelin
On 7/19/21 10:10 AM, Cheng Jiang wrote: > Applications need to stop DMA transfers and finish all the inflight > packets when in VM memory hot-plug case and async vhost is used. This > patch is to provide an unsafe API to clear inflight packets which > are submitted to DMA engine in vhost async d

[dpdk-dev] [PATCH v6 2/5] vhost: add unsafe API to clear packets in async vhost

2021-07-19 Thread Cheng Jiang
Applications need to stop DMA transfers and finish all the inflight packets when in VM memory hot-plug case and async vhost is used. This patch is to provide an unsafe API to clear inflight packets which are submitted to DMA engine in vhost async data path. Signed-off-by: Cheng Jiang --- lib/vho