From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wiles, Keith" Subject: Re: DPDK on IBM Power9 Date: Wed, 9 Jan 2019 23:35:11 +0000 Message-ID: <9C2829AB-34D1-4EB3-BADE-E660349E5E80@intel.com> References: <73991857-48DE-4FE9-9798-045C42AC7B1C@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Daniel Waddington Return-path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id E23451B5A9 for ; Thu, 10 Jan 2019 00:35:13 +0100 (CET) In-Reply-To: Content-Language: en-US Content-ID: <8A62F16F6E822B4391C2B5CF70415918@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > On Jan 9, 2019, at 5:22 PM, Daniel Waddington = wrote: >=20 > This NIC (000:01:00.0) is supported (Intel XL710). I assume that I can us= e VFIO instead of UIO. UIO is really bad from a security perspective. >=20 > I think its the "cannot create new DMA window, error 22" which is the fir= st indicator of the problem. >=20 > Daniel >=20 > -----"Wiles, Keith" wrote: ----- > To: Daniel Waddington > From: "Wiles, Keith" > Date: 01/09/2019 02:52PM > Cc: "dev@dpdk.org" > Subject: Re: [dpdk-dev] DPDK on IBM Power9 >=20 >=20 >> On Jan 9, 2019, at 4:25 PM, Daniel Waddington wrote: >>=20 >> Hi, >> I'm trying to run DPDK 18.11 on IBM Power9. Should it run? (I'n new to= DPDK on Power).=20 >> Thx, >> Daniel >> Below is what I get: >>=20 >> $ sudo ./examples/ethtool/ethtool-app/ppc_64-power8-linuxapp-gcc/app/eth= tool --iova-mode=3Dpa -c7 -w 0000:01:00.0 >> EAL: Detected 128 lcore(s) >> EAL: Detected 2 NUMA nodes >> EAL: Multi-process socket /var/run/dpdk/rte/mp_socket >> EAL: Probing VFIO support... >> EAL: VFIO support initialized >> EAL: PCI device 0000:01:00.0 on NUMA socket 0 >> EAL: probe driver: 8086:1583 net_i40e >> EAL: using IOMMU type 7 (sPAPR) >> EAL: cannot create new DMA window, error 22 (Invalid argument) >> EAL: Could not create new DMA window >> EAL: 0000:01:00.0 DMA remapping failed, error 22 (Invalid argument) >> EAL: Requested device 0000:01:00.0 cannot be used >> Number of NICs: 0 >> EAL: Error - exiting with code: 1 >> Cause: No available NIC ports! >>=20 >=20 > From the message above you need support NIC for DPDK is all or you a NIC = needs to be bound to something like igb_uio for linux. I have never run DPD= K on power before and not sure what is next other then using a supported NI= C. >=20 Yes you should be able to use VFIO. Did you bind the NIC to VFIO ? There should be some docs about how that is done. Beyond this I have not idea? >>=20 >>=20 >=20 > Regards, > Keith >=20 >=20 Regards, Keith