[dpdk-dev] [PATCH v6 3/3] vhost: prevent zero copy mode if iommu is on
Maxime Coquelin
maxime.coquelin at redhat.com
Fri Oct 11 17:16:50 CEST 2019
On 10/9/19 1:54 PM, Adrian Moreno wrote:
> The simultaneous use of dequeue_zero_copy and IOMMU is problematic.
> Not only because IOVA_VA mode is not supported but also because the
> potential invalidation of guest pages while the buffers are in use,
> is not handled.
>
> Prevent these two features to be enabled simultaneously.
>
> Fixes: 69c90e98f483 ("vhost: enable IOMMU support")
> Cc: maxime.coquelin at redhat.com
> Cc: stable at dpdk.org
>
> Reviewed-by: Tiwei Bie <tiwei.bie at intel.com>
> Signed-off-by: Adrian Moreno <amorenoz at redhat.com>
>
> ---
> lib/librte_vhost/socket.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
More information about the dev
mailing list