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.bura...@intel.com>
---
This patch depends on Xuan's VFIO chunking patchset [1].
[1] http://patches.dpdk.org/project/dpdk/list/?series=18590
--
Thanks,
Anatoly