Go to file
Alejandro Lucero d287e4d41b igb_uio: map dummy DMA forcing IOMMU domain attachment
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>
2017-03-30 22:26:07 +02:00
app ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
buildtools mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
config ring: remove the yield when waiting for tail update 2017-03-29 22:25:29 +02:00
devtools devtools: make log checking script BSD-compatible 2017-03-27 23:45:56 +02:00
doc vfio: support hotplug 2017-03-30 18:40:15 +02:00
drivers net/mlx5: implement descriptor status API 2017-03-30 15:27:42 +02:00
examples examples/quota_watermark: use ring space for watermarks 2017-03-29 22:32:20 +02:00
lib igb_uio: map dummy DMA forcing IOMMU domain attachment 2017-03-30 22:26:07 +02:00
mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
pkg version: 17.02.0 2017-02-14 22:17:45 +01:00
test ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
usertools usertools: fix active interface detection when binding 2017-01-30 17:30:21 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: generate NIC overview table from ini files 2016-08-03 18:42:17 +02:00
GNUmakefile mk: do not build tests by default 2017-02-28 16:04:18 +01:00
LICENSE.GPL
LICENSE.LGPL
MAINTAINERS maintainers: add to distributor lib maintainers 2017-03-29 16:46:58 +02:00
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