Re: [dpdk-dev] [PATCH 12/21] vhost: introduce guest IOVA to backend VA helper

2017-09-05 Thread Maxime Coquelin
On 09/05/2017 06:14 AM, Tiwei Bie wrote: On Thu, Aug 31, 2017 at 11:50:14AM +0200, Maxime Coquelin wrote: This patch introduces vhost_iova_to_vva() function to translate guest's IO virtual addresses to backend's virtual addresses. When IOMMU is enabled, the IOTLB cache is queried to get the t

Re: [dpdk-dev] [PATCH 12/21] vhost: introduce guest IOVA to backend VA helper

2017-09-04 Thread Tiwei Bie
On Thu, Aug 31, 2017 at 11:50:14AM +0200, Maxime Coquelin wrote: > This patch introduces vhost_iova_to_vva() function to translate > guest's IO virtual addresses to backend's virtual addresses. > > When IOMMU is enabled, the IOTLB cache is queried to get the > translation. If missing from the IOTL

[dpdk-dev] [PATCH 12/21] vhost: introduce guest IOVA to backend VA helper

2017-08-31 Thread Maxime Coquelin
This patch introduces vhost_iova_to_vva() function to translate guest's IO virtual addresses to backend's virtual addresses. When IOMMU is enabled, the IOTLB cache is queried to get the translation. If missing from the IOTLB cache, an IOTLB_MISS request is sent to Qemu, and IOTLB cache is queried