Home
last modified time | relevance | path

Searched refs:dma_unmap (Results 1 – 15 of 15) sorted by relevance

/dpdk/lib/eal/linux/
H A Deal_vfio.c1441 memset(&dma_unmap, 0, sizeof(dma_unmap)); in vfio_type1_dma_mem_map()
1443 dma_unmap.size = len; in vfio_type1_dma_mem_map()
1444 dma_unmap.iova = iova; in vfio_type1_dma_mem_map()
1447 &dma_unmap); in vfio_type1_dma_mem_map()
1452 } else if (dma_unmap.size != len) { in vfio_type1_dma_mem_map()
1455 (uint64_t)dma_unmap.size, len); in vfio_type1_dma_mem_map()
1531 struct vfio_iommu_type1_dma_map dma_unmap; in vfio_spapr_dma_do_map() local
1533 memset(&dma_unmap, 0, sizeof(dma_unmap)); in vfio_spapr_dma_do_map()
1535 dma_unmap.size = len; in vfio_spapr_dma_do_map()
1536 dma_unmap.iova = iova; in vfio_spapr_dma_do_map()
[all …]
/dpdk/drivers/bus/fslmc/
H A Dfslmc_vfio.c312 struct vfio_iommu_type1_dma_unmap dma_unmap = { in fslmc_unmap_dma() local
323 dma_unmap.size = len; in fslmc_unmap_dma()
324 dma_unmap.iova = vaddr; in fslmc_unmap_dma()
335 (uint64_t)dma_unmap.iova, (uint64_t)dma_unmap.size); in fslmc_unmap_dma()
336 ret = ioctl(group->container->fd, VFIO_IOMMU_UNMAP_DMA, &dma_unmap); in fslmc_unmap_dma()
/dpdk/drivers/bus/auxiliary/
H A Dauxiliary_common.c367 if (aux_dev->driver->dma_unmap == NULL) { in auxiliary_dma_unmap()
371 return aux_dev->driver->dma_unmap(aux_dev, addr, iova, len); in auxiliary_dma_unmap()
415 .dma_unmap = auxiliary_dma_unmap,
H A Drte_bus_auxiliary.h133 rte_auxiliary_dma_unmap_t *dma_unmap; /**< Device DMA unmap function. */ member
/dpdk/drivers/bus/vdev/
H A Dvdev.c182 if (driver->dma_unmap) in vdev_dma_unmap()
183 return driver->dma_unmap(vdev, addr, iova, len); in vdev_dma_unmap()
635 .dma_unmap = vdev_dma_unmap,
H A Drte_bus_vdev.h114 rte_vdev_dma_unmap_t *dma_unmap; /**< Virtual device DMA unmap function. */ member
/dpdk/lib/eal/include/
H A Drte_bus.h272 rte_dev_dma_unmap_t dma_unmap; /**< DMA unmap for device in the bus */ member
/dpdk/drivers/net/virtio/virtio_user/
H A Dvhost.h87 int (*dma_unmap)(struct virtio_user_dev *dev, void *addr, uint64_t iova, size_t len); member
H A Dvhost_vdpa.c633 .dma_unmap = vhost_vdpa_dma_unmap_batch,
/dpdk/drivers/net/virtio/
H A Dvirtio_user_ethdev.c764 if (dev->ops->dma_unmap) in virtio_user_pmd_dma_unmap()
765 return dev->ops->dma_unmap(dev, addr, iova, len); in virtio_user_pmd_dma_unmap()
774 .dma_unmap = virtio_user_pmd_dma_unmap,
/dpdk/drivers/bus/pci/
H A Dpci_common.c646 if (pdev->driver->dma_unmap) in pci_dma_unmap()
647 return pdev->driver->dma_unmap(pdev, addr, iova, len); in pci_dma_unmap()
822 .dma_unmap = pci_dma_unmap,
H A Drte_bus_pci.h168 pci_dma_unmap_t *dma_unmap; /**< device dma unmap function. */ member
/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_common_auxiliary.c179 .dma_unmap = mlx5_common_auxiliary_dma_unmap,
/dpdk/drivers/common/mlx5/
H A Dmlx5_common_pci.c212 .dma_unmap = mlx5_common_pci_dma_unmap,
/dpdk/lib/eal/common/
H A Deal_common_dev.c787 if (dev->bus->dma_unmap == NULL || len == 0) { in rte_dev_dma_unmap()
797 return dev->bus->dma_unmap(dev, addr, iova, len); in rte_dev_dma_unmap()