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

Olivier Matz olivier.matz at 6wind.com
Wed Sep 29 23:15:53 CEST 2021


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!


More information about the dev mailing list