Re: [dpdk-dev] [PATCH v6 1/3] vhost: translate incoming log address to gpa

2019-10-11 Thread Maxime Coquelin
On 10/9/19 1:54 PM, Adrian Moreno wrote: > When IOMMU is enabled the incoming log address is in IOVA space. In that > case, look in IOTLB table and translate the resulting HVA to GPA. > > If IOMMU is not enabled, the incoming log address is already a GPA so no > transformation is needed. > > F

[dpdk-dev] [PATCH v6 1/3] vhost: translate incoming log address to gpa

2019-10-09 Thread Adrian Moreno
When IOMMU is enabled the incoming log address is in IOVA space. In that case, look in IOTLB table and translate the resulting HVA to GPA. If IOMMU is not enabled, the incoming log address is already a GPA so no transformation is needed. Fixes: 69c90e98f483 ("vhost: enable IOMMU support") Cc: max