Re: [dpdk-dev] [PATCH 1/2] vhost: add unsafe API to drain pkts in async vhost

2021-06-07 Thread Jiang, Cheng1
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Monday, June 7, 2021 9:46 PM > To: Jiang, Cheng1 ; maxime.coque...@redhat.com; > Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX > > Subject: Re: [PATCH 1/2] vhost: add unsafe API to drain pkts in async vhost > >

Re: [dpdk-dev] [PATCH 1/2] vhost: add unsafe API to drain pkts in async vhost

2021-06-07 Thread Maxime Coquelin
On 6/2/21 6:28 AM, Cheng Jiang wrote: > Applications need to stop DMA transfers and finish all the in-flight > pkts when in VM memory hot-plug case and async vhost is used. This > patch is to provide an unsafe API to drain in-flight pkts which are > submitted to DMA engine in vhost async data pa

[dpdk-dev] [PATCH 1/2] vhost: add unsafe API to drain pkts in async vhost

2021-06-01 Thread Cheng Jiang
Applications need to stop DMA transfers and finish all the in-flight pkts when in VM memory hot-plug case and async vhost is used. This patch is to provide an unsafe API to drain in-flight pkts which are submitted to DMA engine in vhost async data path. And enable it in vhost example. Signed-off-b