From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id AE0222C28 for ; Wed, 5 Sep 2018 11:22:20 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id c14-v6so7191555wmb.4 for ; Wed, 05 Sep 2018 02:22:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RRGSJM/SrxZKRlbGgYVaU/9to0OCBD7+/Hpfza541v8=; b=aSashe0g5MpuLwFymL1O34KvK2BHjY734Q+435iyZgSPbYb4bwkAua1LkueK0Pi/ZE Ov/vpUulgP6m/Fejr4Hh1UxTdZRrDkHOrRn0kOr24/Qb1etW5rVrS4Gtikn6g/HgwMzn 5/SLAjRrasMN0GeEiQsQKvgLYhEjqTBKTyWffn1faHXrEixZvyJCBliJQKYgJkNDG9Wy e0N3v5xxNCxb/0AVOOC2AQzuLvUSR9pDeHe8OzVAZXxJI28WrHB5W4qDo4ymOHhN/5Fk GUuEcXQa+CZpVq7KFZMtcK13f9L6FqN30cAu4KGSiaq5nWkKC9xsmn7f0+RfV0DZbyaT SV3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RRGSJM/SrxZKRlbGgYVaU/9to0OCBD7+/Hpfza541v8=; b=PDFyfj8LR4r3Z1xKgvHhRmIrwWC4q7fdnFjVDMou2b7+Gxw5X0vfY40dHL2QJrmDaA C+of5fc3se3InPqmNemU9zY/NZ3qiz9fMd9oc2liOAyHD+GotjT7kDpc6klhTwcvyn1w /Bn+hy5m925f08yd2bCBwqbtlIsJ8gJslHpKpweCueoqYN1HFDj6jbrHdwyr0LGLbFaX AFhD9UHj9QT9rjS5IlZLBgx2RYdqK6w0eYHTtO8Zt68osbSvXCQUTi8rwb95FE7CIdN3 XH3d2/OJ01sgs1Pj79YG704bJjcuwh25Kegu/DbJSrsTzM2jSsR8gdb2bIOhoVnb8rAy 5ZVg== X-Gm-Message-State: APzg51Csn6IEpV0d0o/A5PsIIr8KEVLr/G2WyOp5bFxguROId5eZ5Evy feyK5bOwdpccEfNLKwodaYFkCw== X-Google-Smtp-Source: ANB0Vdb3QmnDm/fjQUKThW1iJvcQBLT58fzjwl01D2+WIW8lDsVn7n7tG7yBrupjXIYGy77NGr3FSw== X-Received: by 2002:a1c:cb4d:: with SMTP id b74-v6mr11096774wmg.123.1536139340334; Wed, 05 Sep 2018 02:22:20 -0700 (PDT) Received: from shemminger-XPS-13-9360 ([31.216.236.195]) by smtp.gmail.com with ESMTPSA id k34-v6sm2078800wre.18.2018.09.05.02.22.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Sep 2018 02:22:20 -0700 (PDT) Date: Wed, 5 Sep 2018 10:22:16 +0100 From: Stephen Hemminger To: "Tone Zhang (Arm Technology China)" Cc: Rami Rosen , "dev@dpdk.org" , nd Message-ID: <20180905102216.0ecd182f@shemminger-XPS-13-9360> In-Reply-To: References: <1536051547-8797-1-git-send-email-tone.zhang@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel module X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2018 09:22:20 -0000 On Wed, 5 Sep 2018 00:20:29 +0000 "Tone Zhang (Arm Technology China)" wrote: > Hi Rami, >=20 > Yes, I mean =E2=80=9Cuio_pci_generic=E2=80=9D kernel module. >=20 > I will update the change accordingly. >=20 > Thanks. >=20 > Br, > Tone >=20 > From: Rami Rosen > Sent: Wednesday, September 5, 2018 3:55 AM > To: Tone Zhang (Arm Technology China) > Cc: dev@dpdk.org; nd > Subject: Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" k= ernel module >=20 > Hi Tone, > >if the devices for used DPDK bound to the ``uio-pci`` kernel module, ple= ase make =20 >=20 > The three kernel modules which can be used for DPDK binding are vfio-pci,= uio_pci_generic and igb_uio. Don't you mean here uio_pci_generic ? >=20 > Regards, > Rami Rosen >=20 >=20 > =D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A =D7=99=D7=95=D7=9D =D7=92=D7=B3, 4 = =D7=91=D7=A1=D7=A4=D7=98=D7=B3 2018, 11:59, =D7=9E=D7=90=D7=AA tone.z > When binding the devices used by DPDK to the "uio-pci" kernel module, > the IOMMU should be disabled in order not to break the > because of the virtual / physical address mapping. >=20 > The patch clarifies the IOMMU configuration on both x86_64 and arm64 > systems. >=20 > Signed-off-by: tone.zhang > > --- > doc/guides/linux_gsg/linux_drivers.rst | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/doc/guides/linux_gsg/linux_drivers.rst b/doc/guides/linux_gs= g/linux_drivers.rst > index 371a817..8f9ec8f 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`` > 2.7.4 Also, it would be good if documentation was clear in recommending using VFIO instead if IOMMU is present.