On 10/9/19 1:54 PM, Adrian Moreno wrote:
> Add IOVA versions of dirty page logging functions.
>
> Note that the API facing rte_vhost_log_write is not modified.
> So, make explicit that it expects the address in GPA space.
>
> Fixes: 69c90e98f483 ("vhost: enable IOMMU support")
> Cc: maxime.coque...@redhat.com
> Cc: sta...@dpdk.org
> Signed-off-by: Adrian Moreno <amore...@redhat.com>
>
> --
> v4 Changes: Add vhost_log_write_iova (in adition to _cache_ version)
> and use it in vdpa (non-batched) dirty page logging
> ---
> lib/librte_vhost/rte_vhost.h | 2 +-
> lib/librte_vhost/vdpa.c | 3 ++-
> lib/librte_vhost/vhost.c | 40 +++++++++++++++++++++++++++++++++++
> lib/librte_vhost/vhost.h | 31 +++++++++++++++++++++++++++
> lib/librte_vhost/virtio_net.c | 12 ++++++-----
> 5 files changed, 81 insertions(+), 7 deletions(-)
Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>