RE: [PATCH v2 1/2] vhost: fix descs count in async vhost packed ring

2022-10-24 Thread Xia, Chenbo
org; Hu, Jiayu ; Ding, Xuan > > ; Ma, WenwuX ; Wang, > > YuanX ; Yang, YvonneX > > ; He, Xingguang ; > > sta...@dpdk.org > > Subject: Re: [PATCH v2 1/2] vhost: fix descs count in async vhost packed > ring > > > > > > > > On 10/11/22 05:08, Cheng

RE: [PATCH v2 1/2] vhost: fix descs count in async vhost packed ring

2022-10-23 Thread Jiang, Cheng1
org > Subject: Re: [PATCH v2 1/2] vhost: fix descs count in async vhost packed ring > > > > On 10/11/22 05:08, Cheng Jiang wrote: > > When vhost receive packets from the front-end using packed virtqueue, > > it > > receives > > > might use multiple de

Re: [PATCH v2 1/2] vhost: fix descs count in async vhost packed ring

2022-10-21 Thread Maxime Coquelin
On 10/11/22 05:08, Cheng Jiang wrote: When vhost receive packets from the front-end using packed virtqueue, it receives might use multiple descriptors for one packet, so we need calculate and to calculate record the descriptor number for each packet to update available descriptor count

[PATCH v2 1/2] vhost: fix descs count in async vhost packed ring

2022-10-10 Thread Cheng Jiang
When vhost receive packets from the front-end using packed virtqueue, it might use multiple descriptors for one packet, so we need calculate and record the descriptor number for each packet to update available descriptor counter and used descriptor counter, and rollback when DMA ring is full. Fixe