From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Iremonger, Bernard" Subject: Re: [PATCH] eal: mmap uio resources using resourceX files Date: Mon, 23 Feb 2015 15:30:56 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C2049ECFCF@IRSMSX108.ger.corp.intel.com> References: <54E9695A.5010509@igel.co.jp> <1424703444-30761-1-git-send-email-bruce.richardson@intel.com> <20150223150001.GA9392@bricha3-MOBL3> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: "Richardson, Bruce" , "dev-VfR2kkLFssw@public.gmane.org" Return-path: In-Reply-To: <20150223150001.GA9392@bricha3-MOBL3> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > -----Original Message----- > From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Bruce Richardson > Sent: Monday, February 23, 2015 3:00 PM > To: dev-VfR2kkLFssw@public.gmane.org > Subject: Re: [dpdk-dev] [PATCH] eal: mmap uio resources using resourceX f= iles >=20 > On Mon, Feb 23, 2015 at 02:57:24PM +0000, Bruce Richardson wrote: > > Instead of distinguishing the BAR mappings via offset within a single > > file, originally /dev/uioX, switch to mapping each individual bar via > > the appropriately numbered resourceX file. > > > > Signed-off-by: Bruce Richardson > > --- > Hi Tetsuya, >=20 > in our tests here, this patch seems to fix the immediate problem you were= experiencing on your > system. Can you perhaps verify? >=20 > Thanks, > /Bruce Hi Bruce, I was seeing a similar problem on my system when attaching a virtual functi= on port. testpmd> port attach 0000:06:10.0=20 Attaching a new port... EAL: PCI device 0000:06:10.0 on NUMA socket -1 EAL: probe driver: 8086:10ed rte_ixgbevf_pmd EAL: PCI memory mapped at 0x10000 EAL: pci_map_resource(): cannot mmap(27, 0x14000, 0x4000, 0x1000): Invalid = argument (0xffffffffffffffff) EAL: Requested device 0000:06:10.0 cannot be used EAL: Driver, cannot attach the device This patch seems to solve the problem. Regards, Bernard.