Re: [dpdk-dev] [PATCH v6 0/4] fix issue with partial DMA unmap

2021-01-04 Thread David Christensen
On 12/22/20 9:13 PM, Nithin Dabilpuram wrote: Ping. Tested the patches and they generate a failure on my P9 system: EAL: cannot map vaddr for IOMMU, error 22 (Invalid argument) I'm looking at it now to see what the problem might be. I'm assuing it's related to the size paramter (see h

Re: [dpdk-dev] [PATCH v6 0/4] fix issue with partial DMA unmap

2020-12-22 Thread Nithin Dabilpuram
Ping. On Fri, Dec 18, 2020 at 12:36:00AM +0530, Nithin Dabilpuram wrote: > Partial DMA unmap is not supported by VFIO type1 IOMMU > in Linux. Though the return value is zero, the returned > DMA unmap size is not same as expected size. > So add test case and fix to both heap triggered DMA > mapping

[dpdk-dev] [PATCH v6 0/4] fix issue with partial DMA unmap

2020-12-17 Thread Nithin Dabilpuram
Partial DMA unmap is not supported by VFIO type1 IOMMU in Linux. Though the return value is zero, the returned DMA unmap size is not same as expected size. So add test case and fix to both heap triggered DMA mapping and user triggered DMA mapping/unmapping. Refer vfio_dma_do_unmap() in drivers/vfi