[dpdk-dev] [PATCH] net/virtio: revert forcing IOVA as VA mode for virtio-user

Maxime Coquelin maxime.coquelin at redhat.com
Thu Sep 30 10:25:13 CEST 2021



On 9/29/21 23:15, Olivier Matz wrote:
> Hi Maxime,
> 
> On Wed, Sep 29, 2021 at 10:17:39PM +0200, Maxime Coquelin wrote:
>> This patch removes the simplification in Virtio descriptors
>> handling, where their buffer addresses are IOVAs for Virtio
>> PCI devices, and VA-only for Virtio-user devices, which
>> added a requirement on Virtio-user that it only supported
>> IOVA as VA.
>>
>> This change introduced a regression for applications using
>> Virtio-user and other physical PMDs that require IOVA as PA
>> because they don't use an IOMMU.
>>
>> This patch reverts to the old behaviour, but needed to be
>> reworked because of the refactoring that happened in v21.02.
>>
>> Fixes: 17043a2909bb ("net/virtio: force IOVA as VA mode for virtio-user")
>> Cc: stable at dpdk.org
>>
>> Reported-by: Olivier Matz <olivier.matz at 6wind.com>
>> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> 
> Tested-by: Olivier Matz <olivier.matz at 6wind.com>
> 
> Many thanks for your quick solution on this!
> 

You're welcome, thanks for reporting.

I just notice your reply to v1, so I missed to report your Tested-by on
v2 (which only has cosmetic changes). Feel free to add it.

Maxime



More information about the dev mailing list