d287e4d41b
For using a DPDK app when iommu is enabled, it requires to add iommu=pt to the kernel command line. But using igb_uio driver makes DMAR errors because the device has not an IOMMU domain. Since kernel 3.15, iommu=pt requires to use the internal kernel DMA API for attaching the device to the IOMMU 1:1 mapping, aka si_domain. Previous versions did attach the device to that domain when intel iommu notifier was called. This is not a problem if the driver does later some call to the DMA API because the mapping can be done then. But DPDK apps do not use that DMA API at all. Doing this dma map and unmap is harmless even when iommu is not enabled at all. Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com> |
||
---|---|---|
app | ||
buildtools | ||
config | ||
devtools | ||
doc | ||
drivers | ||
examples | ||
lib | ||
mk | ||
pkg | ||
test | ||
usertools | ||
.gitattributes | ||
.gitignore | ||
GNUmakefile | ||
LICENSE.GPL | ||
LICENSE.LGPL | ||
MAINTAINERS | ||
Makefile | ||
README |
DPDK is a set of libraries and drivers for fast packet processing. It supports many processor architectures and both FreeBSD and Linux. The DPDK uses the Open Source BSD license for the core libraries and drivers. The kernel components are GPLv2 licensed. Please check the doc directory for release notes, API documentation, and sample application information. For questions and usage discussions, subscribe to: users@dpdk.org Report bugs and issues to the development mailing list: dev@dpdk.org