Re: [RFC PATCH v9 04/23] vhost: Get vring base from vq, not svq

2022-07-12 Thread Eugenio Perez Martin
On Tue, Jul 12, 2022 at 9:42 AM Jason Wang wrote: > > > 在 2022/7/8 18:10, Eugenio Perez Martin 写道: > > On Fri, Jul 8, 2022 at 11:12 AM Jason Wang wrote: > >> On Thu, Jul 7, 2022 at 2:40 AM Eugenio Pérez wrote: > >>> The used idx used to match with this, but it will not match from the > >>> momen

Re: [RFC PATCH v9 04/23] vhost: Get vring base from vq, not svq

2022-07-12 Thread Jason Wang
在 2022/7/8 18:10, Eugenio Perez Martin 写道: On Fri, Jul 8, 2022 at 11:12 AM Jason Wang wrote: On Thu, Jul 7, 2022 at 2:40 AM Eugenio Pérez wrote: The used idx used to match with this, but it will not match from the moment we introduce svq_inject. It might be better to explain what "svq_inje

Re: [RFC PATCH v9 04/23] vhost: Get vring base from vq, not svq

2022-07-08 Thread Eugenio Perez Martin
On Fri, Jul 8, 2022 at 11:12 AM Jason Wang wrote: > > On Thu, Jul 7, 2022 at 2:40 AM Eugenio Pérez wrote: > > > > The used idx used to match with this, but it will not match from the > > moment we introduce svq_inject. > > It might be better to explain what "svq_inject" means here. > Good point,

Re: [RFC PATCH v9 04/23] vhost: Get vring base from vq, not svq

2022-07-08 Thread Jason Wang
On Thu, Jul 7, 2022 at 2:40 AM Eugenio Pérez wrote: > > The used idx used to match with this, but it will not match from the > moment we introduce svq_inject. It might be better to explain what "svq_inject" means here. > Rewind all the descriptors not used by > vdpa device and get the vq state p