[dpdk-users] DPDK 17.05 does not find X510 card
Rosen, Rami
rami.rosen at intel.com
Mon Jun 18 15:09:32 CEST 2018
Hi, Martin,
How do you bind the device ? is it with igb_uio/vfio ? In case this is what you do - can you please try with uio_pci_generic and tell if you get the same error ?
The uio_pci_generic should be included in your distro as one of the kernel modules, you need just to do modprobe uio_pci_generic before binding to DPDK.
Regards,
Rami Rosen
-----Original Message-----
From: Martin Drašar [mailto:drasar at ics.muni.cz]
Sent: Monday, June 18, 2018 15:41
To: Rosen, Rami <rami.rosen at intel.com>; users at dpdk.org
Subject: Re: [dpdk-users] DPDK 17.05 does not find X510 card
Dne 18.6.2018 v 11:54 Rosen, Rami napsal(a):
> Hi Martin,
>> dpdk_init()
>
> I assume you run your own application.
> Can you post the log you get when running testpmd with --log-level=8 and -w I40E0_PCI_BUS_ID ....?
>
> Also can you post "lspci -n"?
> Regards,
> Rami Rosen
Hello,
thank you for getting back to me so quick. I did some debugging and it turned out that i40e drivers were not linked when building the dpdk. I fixed this, but I have encountered another problem...
Although the cards are discovered, I get this error:
> EAL: pci_map_resource(): cannot mmap(102, 0x7fffc0000000, 0x1000000,
> 0x0): Operation not permitted (0xffffffffffffffff)
I've seen some information about his mmap-related behavior and some hints about setting iomem=relaxed in grub. As making changes to grub means completely reinstalling my machine, I would like to ask, if you think that this could be the way to go.
Thanks,
Martin
More information about the users
mailing list