Re: [dpdk-dev] [PATCH] vhost: fix async packed ring batch datapath

2021-07-19 Thread Xia, Chenbo
> -Original Message- > From: Jiang, Cheng1 > Sent: Thursday, July 8, 2021 6:25 PM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX > ; Jiang, Cheng1 ; > sta...@dpdk.org > Subject: [PATCH] vhost: fix async packed ring batch datapath > > We assume

Re: [dpdk-dev] [PATCH] vhost: fix async packed ring batch datapath

2021-07-19 Thread Maxime Coquelin
Hi, On 7/8/21 12:25 PM, Cheng Jiang wrote: > We assume that in the sync path, if there is no buffer wrap in the > avail descriptors fetched in a batch, there is no buffer wrap in the > used descriptors which need to be written back in this batch, but > this assumption is wrong in the async path si

[dpdk-dev] [PATCH] vhost: fix async packed ring batch datapath

2021-07-08 Thread Cheng Jiang
We assume that in the sync path, if there is no buffer wrap in the avail descriptors fetched in a batch, there is no buffer wrap in the used descriptors which need to be written back in this batch, but this assumption is wrong in the async path since there are inflight descriptors which are process