> -----Original Message----- > From: tone.zhang <tone.zh...@arm.com> > Sent: Wednesday, September 5, 2018 1:18 PM > To: dev@dpdk.org > Cc: Gavin Hu (Arm Technology China) <gavin...@arm.com>; > bruce.richard...@intel.com; bl...@debian.org; roszenr...@gmail.com; nd > <n...@arm.com> > Subject: [PATCH v3] doc: Clarify IOMMU usage with "uio_pci_generic" kernel > module > > If the devices used for DPDK are bound to the "uio_pci_generic" kernel > module, the IOMMU should be disabled in order not to break the IO > transmission because of the virtual / physical address mapping. > > The patch clarifies the IOMMU configurations on both x86_64 and arm64 > systems. > > Signed-off-by: tone.zhang <tone.zh...@arm.com> Acked-by: Gavin Hu <gavin...@arm.com> > --- > doc/guides/linux_gsg/linux_drivers.rst | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/doc/guides/linux_gsg/linux_drivers.rst > b/doc/guides/linux_gsg/linux_drivers.rst > index 371a817..b46fc6a 100644 > --- a/doc/guides/linux_gsg/linux_drivers.rst > +++ b/doc/guides/linux_gsg/linux_drivers.rst > @@ -48,6 +48,13 @@ be loaded as shown below: > ``vfio-pci`` kernel module rather than ``igb_uio`` or ``uio_pci_generic``. > For more details see :ref:`linux_gsg_binding_kernel` below. > > +.. note:: > + > + If the devices used for DPDK are bound to the ``uio_pci_generic`` kernel > module, > + please make sure that the IOMMU is disabled. One can add > ``intel_iommu=off`` or > + ``intel_iommu=pt`` or ``amd_iommu=off`` in GRUB command line on > x86_64 systems, > + or add ``iommu.passthrough=1`` on arm64 system. > + > Since DPDK release 1.7 onward provides VFIO support, use of UIO is optional > for platforms that support using VFIO. > > -- > 2.7.4
Re: [dpdk-dev] [PATCH v3] doc: Clarify IOMMU usage with "uio_pci_generic" kernel module
Gavin Hu (Arm Technology China) Tue, 04 Sep 2018 22:23:42 -0700
- Re: [dpdk-dev] [PATCH] doc: Clarify IOMM... Gavin Hu (Arm Technology China)
- Re: [dpdk-dev] [PATCH] doc: Clarify IOMM... Bruce Richardson
- Re: [dpdk-dev] [PATCH] doc: Clarify... Luca Boccassi
- Re: [dpdk-dev] [PATCH] doc: Cla... Tone Zhang (Arm Technology China)
- Re: [dpdk-dev] [PATCH] doc: Clarify IOMM... Rami Rosen
- Re: [dpdk-dev] [PATCH] doc: Clarify... Tone Zhang (Arm Technology China)
- Re: [dpdk-dev] [PATCH] doc: Cla... Stephen Hemminger
- Re: [dpdk-dev] [PATCH] doc:... Tone Zhang (Arm Technology China)
- [dpdk-dev] [PATCH v2] doc: Clarify IOMMU... tone.zhang
- [dpdk-dev] [PATCH v3] doc: Clarify ... tone.zhang
- Re: [dpdk-dev] [PATCH v3] doc: ... Gavin Hu (Arm Technology China)
- Re: [dpdk-dev] [PATCH v3] doc: ... Tone Zhang (Arm Technology China)
- Re: [dpdk-dev] [PATCH v3] d... Bruce Richardson
- Re: [dpdk-dev] [PATCH v... Luca Boccassi
- Re: [dpdk-dev] [PA... Tone Zhang (Arm Technology China)
- Re: [dpdk-dev] [PATCH v3] doc: ... Luca Boccassi
- [dpdk-dev] [PATCH v4] doc: Clar... tone.zhang
- Re: [dpdk-dev] [PATCH v4] d... Bruce Richardson
- Re: [dpdk-dev] [PATCH v... Tone Zhang (Arm Technology China)
- [dpdk-dev] [PATCH v5] doc: ... tone.zhang
- [dpdk-dev] [PATCH v6] d... tone.zhang