[PATCH v3 04/28] vhost: add helper of IOTLB entries coredump
David Marchand
david.marchand at redhat.com
Fri May 26 10:46:59 CEST 2023
On Thu, May 25, 2023 at 6:26 PM Maxime Coquelin
<maxime.coquelin at redhat.com> wrote:
> @@ -149,8 +177,8 @@ vhost_user_iotlb_cache_remove_all(struct virtio_net *dev, struct vhost_virtqueue
> rte_rwlock_write_lock(&vq->iotlb_lock);
>
> RTE_TAILQ_FOREACH_SAFE(node, &vq->iotlb_list, next, temp_node) {
> - mem_set_dump((void *)(uintptr_t)node->uaddr, node->size, false,
> - hua_to_alignment(dev->mem, (void *)(uintptr_t)node->uaddr));
> + vhost_user_iotlb_set_dump(dev, node);
vhost_user_iotlb_clear_dump ?
> +
> TAILQ_REMOVE(&vq->iotlb_list, node, next);
> vhost_user_iotlb_pool_put(vq, node);
> }
--
David Marchand
More information about the dev
mailing list