[dpdk-dev] [PATCH v1 1/1] vfio: add page-by-page mapping API

Burakov, Anatoly anatoly.burakov at intel.com
Fri Sep 10 14:31:10 CEST 2021


On 10-Sep-21 12:27 PM, Anatoly Burakov wrote:
> Currently, there is no way to map memory for DMA in a way that allows
> unmapping it partially later, because some IOMMU's do not support
> partial unmapping. There is a workaround of mapping all of these
> segments separately, but this is inconvenient and silly, so this
> commit adds a proper API that does it.
> 
> This commit relies on earlier infrastructure that was built out to
> support "chunking", as the concept of "chunks" is essentially the same
> as page size.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---

This patch depends on Xuan's VFIO chunking patchset [1].

[1] http://patches.dpdk.org/project/dpdk/list/?series=18590

-- 
Thanks,
Anatoly


More information about the dev mailing list