Open joelsmithTT opened 3 weeks ago
In UMD PCIDevice code, add an API for mapping memory for DMA through the IOMMU.
uint64_t map_for_dma(void *buffer, size_t size); // returns DMA addr
KMD supports this in 1.29, so a version check in UMD is a good idea. UMD can determine whether the card is behind IOMMU, so check that too.
Related to #257 and #133
In UMD PCIDevice code, add an API for mapping memory for DMA through the IOMMU.
uint64_t map_for_dma(void *buffer, size_t size); // returns DMA addr
KMD supports this in 1.29, so a version check in UMD is a good idea. UMD can determine whether the card is behind IOMMU, so check that too.