Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel module

2018-09-05 Thread Tone Zhang (Arm Technology China)
-Original Message- From: Stephen Hemminger Sent: Wednesday, September 5, 2018 5:22 PM To: Tone Zhang (Arm Technology China) Cc: Rami Rosen ; dev@dpdk.org; nd Subject: Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel module On Wed, 5 Sep 2018 00:20:29 +

Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel module

2018-09-05 Thread Stephen Hemminger
esday, 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" > kernel module > > Hi Tone, > >if the devices for used DPDK bound to the ``uio-pci`` kernel

Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel module

2018-09-04 Thread Tone Zhang (Arm Technology China)
Hi Rami, Yes, I mean “uio_pci_generic” kernel module. I will update the change accordingly. Thanks. Br, Tone 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

Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel module

2018-09-04 Thread Rami Rosen
Hi Tone, >if the devices for used DPDK bound to the ``uio-pci`` kernel module, please make 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 ? Regards, Rami Rosen בתאריך יום ג׳, 4 בספט׳ 2018, 11:59, מאת ton

Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel module

2018-09-04 Thread Tone Zhang (Arm Technology China)
-Original Message- From: Luca Boccassi Sent: Tuesday, September 4, 2018 6:15 PM To: Bruce Richardson ; Tone Zhang (Arm Technology China) Cc: dev@dpdk.org; nd Subject: Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel module On Tue, 2018-09-04 at 1

Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel module

2018-09-04 Thread Luca Boccassi
On Tue, 2018-09-04 at 11:06 +0100, Bruce Richardson wrote: > On Tue, Sep 04, 2018 at 04:59:07PM +0800, tone.zhang wrote: > > When binding the devices used by DPDK to the "uio-pci" kernel > > module, > > the IOMMU should be disabled in order not to break the IO > > transmission > > because of the vi

Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel module

2018-09-04 Thread Bruce Richardson
On Tue, Sep 04, 2018 at 04:59:07PM +0800, tone.zhang wrote: > When binding the devices used by DPDK to the "uio-pci" 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 config

Re: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel module

2018-09-04 Thread Gavin Hu (Arm Technology China)
> -Original Message- > From: dev On Behalf Of tone.zhang > Sent: Tuesday, September 4, 2018 4:59 PM > To: dev@dpdk.org > Cc: nd > Subject: [dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel > module > > When binding the devices

[dpdk-dev] [PATCH] doc: Clarify IOMMU usage with "uio-pci" kernel module

2018-09-04 Thread tone.zhang
When binding the devices used by DPDK to the "uio-pci" 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 configuration on both x86_64 and arm64 systems. Signed-off-by: tone.zhang