[dpdk-dev] [PATCH] vhost: Clean iotlb cache on vring stop

2021-08-27 Thread Eugenio Pérez
Old IOVA cache entries are left when there is a change on virtio driver in VM. In case that all these old entries have iova addresses lesser than new iova entries, vhost code will need to iterate all the cache to find the new ones. In case of just a new iova entry needed for the new translations, t

Re: [dpdk-dev] [PATCH] vhost: Clean iotlb cache on vring stop

2021-09-23 Thread Maxime Coquelin
On 8/27/21 18:12, Eugenio Pérez wrote: Old IOVA cache entries are left when there is a change on virtio driver in VM. In case that all these old entries have iova addresses lesser than new iova entries, vhost code will need to iterate all the cache to find the new ones. In case of just a new i

Re: [dpdk-dev] [PATCH] vhost: Clean iotlb cache on vring stop

2021-09-23 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Thursday, September 23, 2021 4:34 PM > To: Eugenio Pérez ; Xia, Chenbo > Cc: dev@dpdk.org; Pei Zhang ; Jason Wang > > Subject: Re: [PATCH] vhost: Clean iotlb cache on vring stop > > > > On 8/27/21 18:12, Eugenio Pérez wr

Re: [dpdk-dev] [PATCH] vhost: Clean iotlb cache on vring stop

2021-09-23 Thread Maxime Coquelin
On 9/23/21 10:48, Xia, Chenbo wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Thursday, September 23, 2021 4:34 PM To: Eugenio Pérez ; Xia, Chenbo Cc: dev@dpdk.org; Pei Zhang ; Jason Wang Subject: Re: [PATCH] vhost: Clean iotlb cache on vring stop On 8/27/21 18

Re: [dpdk-dev] [PATCH] vhost: Clean iotlb cache on vring stop

2021-09-23 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Thursday, September 23, 2021 4:50 PM > To: Xia, Chenbo ; Eugenio Pérez > Cc: dev@dpdk.org; Pei Zhang ; Jason Wang > > Subject: Re: [PATCH] vhost: Clean iotlb cache on vring stop > > > > On 9/23/21 10:48, Xia, Chenbo wrote: > > Hi Ma

Re: [dpdk-dev] [PATCH] vhost: Clean iotlb cache on vring stop

2021-09-28 Thread Maxime Coquelin
On 8/27/21 18:12, Eugenio Pérez wrote: Old IOVA cache entries are left when there is a change on virtio driver in VM. In case that all these old entries have iova addresses lesser than new iova entries, vhost code will need to iterate all the cache to find the new ones. In case of just a new i

Re: [dpdk-dev] [PATCH] vhost: Clean iotlb cache on vring stop

2021-08-30 Thread Xia, Chenbo
Hi Eugenio, > -Original Message- > From: Eugenio Pérez > Sent: Saturday, August 28, 2021 12:13 AM > To: Maxime Coquelin ; Xia, Chenbo > > Cc: dev@dpdk.org; Pei Zhang ; Jason Wang > > Subject: [PATCH] vhost: Clean iotlb cache on vring stop Clean -> clean > > Old IOVA cache entries are

Re: [dpdk-dev] [PATCH] vhost: Clean iotlb cache on vring stop

2021-08-30 Thread Eugenio Perez Martin
On Mon, Aug 30, 2021 at 1:58 PM Xia, Chenbo wrote: > > Hi Eugenio, > Hi Chenbo, > > -Original Message- > > From: Eugenio Pérez > > Sent: Saturday, August 28, 2021 12:13 AM > > To: Maxime Coquelin ; Xia, Chenbo > > > > Cc: dev@dpdk.org; Pei Zhang ; Jason Wang > > > > Subject: [PATCH] v

Re: [dpdk-dev] [PATCH] vhost: Clean iotlb cache on vring stop

2021-08-30 Thread Xia, Chenbo
Hi Eugenio, > -Original Message- > From: Eugenio Perez Martin > Sent: Tuesday, August 31, 2021 2:10 AM > To: Xia, Chenbo > Cc: Maxime Coquelin ; dev@dpdk.org; Pei Zhang > ; Jason Wang > Subject: Re: [PATCH] vhost: Clean iotlb cache on vring stop > > On Mon, Aug 30, 2021 at 1:58 PM Xia,

Re: [dpdk-dev] [PATCH] vhost: Clean iotlb cache on vring stop

2021-08-31 Thread Eugenio Perez Martin
On Tue, Aug 31, 2021 at 4:02 AM Xia, Chenbo wrote: > > Hi Eugenio, > > > -Original Message- > > From: Eugenio Perez Martin > > Sent: Tuesday, August 31, 2021 2:10 AM > > To: Xia, Chenbo > > Cc: Maxime Coquelin ; dev@dpdk.org; Pei Zhang > > ; Jason Wang > > Subject: Re: [PATCH] vhost: Cl